/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package org.bgef.view;

import java.awt.Color;
import java.util.ArrayList;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.DefaultComboBoxModel;
import javax.swing.DefaultListModel;
import javax.swing.ImageIcon;
import javax.swing.JOptionPane;
import org.bgef.bsl.Facade;
import org.bgef.bsl.MainManager;
import org.bgef.bsl.domains.Arbitro;
import org.bgef.bsl.domains.Campeonato;
import org.bgef.bsl.domains.CampeonatoTorneio;
import org.bgef.bsl.domains.Cartao;
import org.bgef.bsl.domains.Equipa;
import org.bgef.bsl.domains.Escalao;
import org.bgef.bsl.domains.Escola;
import org.bgef.bsl.domains.Instalacao;
import org.bgef.bsl.domains.Jogador;
import org.bgef.bsl.domains.Jogo;
import org.bgef.bsl.domains.Relatorio;
import org.bgef.bsl.domains.Torneio;
import org.bgef.bsl.domains.Treinador;
import org.bgef.bsl.domains.Utilizador;
import org.bgef.bsl.exceptions.BslConnectionBrokerUnavailableException;
import org.bgef.bsl.exceptions.GenericBslException;
import org.bgef.bsl.exceptions.MainManagerInitException;

/**
 *
 * @author MrFabio
 */
public class Interface extends javax.swing.JFrame {

    private List<Equipa> listaequipas;
    private List<Arbitro> listaarbitros;
    private List<Jogador> listajogadores;
    private List<Treinador> listatreinadores;
    private List<Jogo> listajogos;
    private List<Instalacao> listainstalacoes;
    private List<Escola> listatescolas;
    private List<Relatorio> listarelatorios;
    private List<Torneio> listaTreinadores;
    private List<Utilizador> listautilizadores;
    private List<Cartao> listacartoes;
    private List<Campeonato> listacampeonatos;
    private List<CampeonatoTorneio> listacamptorns;
    private List<Torneio> listatorneios;
    private List<Escola> listaescolas;
    private List<Escalao> listaescaloes;
    private Utilizador user;
    private Facade fasseide;
    private DefaultListModel modelListJogadores;
    private DefaultListModel modelListEquipas;
    private DefaultListModel modelListArbitros;
    private DefaultListModel modelListTreinadores;
    private DefaultListModel modelListJogos;
    private DefaultListModel modelListEscolas;
    private DefaultListModel modelListUtilizadores;
    private DefaultListModel modelListCartoes;
    private DefaultListModel modelListCampeonatos;
    private DefaultListModel modelListCampTorns;
    private DefaultListModel modelListTorneios;
    private DefaultComboBoxModel modelListInstalacoes;
    private DefaultComboBoxModel modelComboBoxEquipas;
    private MainManager mm;

    /**
     * Creates new form Interface
     */
    public Interface() {
        listajogadores = null;
        listaequipas = null;
        listaarbitros = null;
        listatreinadores = null;
        initComponents();
        try {
            this.mm = new MainManager();
        } catch (MainManagerInitException ex) {
            Logger.getLogger(Interface.class.getName()).log(Level.SEVERE, null, ex);
        }

        try {
            fasseide = new Facade();
        } catch (BslConnectionBrokerUnavailableException ex) {
            Logger.getLogger(Interface.class.getName()).log(Level.SEVERE, null, ex);
        }
        this.getContentPane().setBackground(Color.YELLOW);
        jLabel13.setIcon(new ImageIcon("images/" + "bananaLOGO.png"));
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jButton1 = new javax.swing.JButton();
        buttonGroup1 = new javax.swing.ButtonGroup();
        buttonGroup2 = new javax.swing.ButtonGroup();
        jLabel1 = new javax.swing.JLabel();
        jLabel2 = new javax.swing.JLabel();
        jTextFieldLoginUsername = new javax.swing.JTextField();
        jLabel3 = new javax.swing.JLabel();
        jPasswordFieldLoginPass = new javax.swing.JPasswordField();
        jButtonLOGIN = new javax.swing.JButton();
        jTabbedPane1 = new javax.swing.JTabbedPane();
        jPanel1 = new javax.swing.JPanel();
        jTabbedPanePessoas = new javax.swing.JTabbedPane();
        jPanelPessoasJogador = new javax.swing.JPanel();
        jTabbedPaneJogadores = new javax.swing.JTabbedPane();
        jPanelJogadorCriar = new javax.swing.JPanel();
        jLabel71 = new javax.swing.JLabel();
        jTextFieldJogadorNome = new javax.swing.JTextField();
        jLabel72 = new javax.swing.JLabel();
        jTextFieldJogadorDataN = new javax.swing.JTextField();
        jComboBoxJogadorNac1 = new javax.swing.JComboBox();
        jLabel75 = new javax.swing.JLabel();
        jLabel76 = new javax.swing.JLabel();
        jComboBoxJogadorSexo1 = new javax.swing.JComboBox();
        jButtonJogadorCriar = new javax.swing.JButton();
        jPanelJogadorGerir = new javax.swing.JPanel();
        jLabelJogadorGerirLista = new javax.swing.JLabel();
        jScrollPane8 = new javax.swing.JScrollPane();
        jListJogadorGerirListaJogadores = new javax.swing.JList();
        jLabelPessoasJogadorGerirNome = new javax.swing.JLabel();
        jTextFieldJogadorGerirNome = new javax.swing.JTextField();
        jLabelPessoasJogadorGerirDataN = new javax.swing.JLabel();
        jButtonJogadorGerirAlterar = new javax.swing.JButton();
        jButtonJogadorGerirRemover = new javax.swing.JButton();
        jLabel73 = new javax.swing.JLabel();
        jComboBoxJogadorNac = new javax.swing.JComboBox();
        jLabel74 = new javax.swing.JLabel();
        jComboBoxJogadorSexo = new javax.swing.JComboBox();
        jLabelJogadorGerirEquipa = new javax.swing.JLabel();
        jComboBoxJogadoresGerirEquipa = new javax.swing.JComboBox();
        jTextFieldJogadorGerirDataN = new javax.swing.JTextField();
        jPanelPessoasArbitro = new javax.swing.JPanel();
        jLabelArbitroErro1 = new javax.swing.JLabel();
        jLabelArbitroErro2 = new javax.swing.JLabel();
        jLabelArbitroErro3 = new javax.swing.JLabel();
        jLabelArbitroErro4 = new javax.swing.JLabel();
        jTabbedPaneArbitro = new javax.swing.JTabbedPane();
        jPanelArbitroCriar = new javax.swing.JPanel();
        jLabel28 = new javax.swing.JLabel();
        jTextFieldArbitroNome = new javax.swing.JTextField();
        jLabel29 = new javax.swing.JLabel();
        jTextFieldArbitroDataN = new javax.swing.JTextField();
        jComboBoxArbitroNac = new javax.swing.JComboBox();
        jLabel31 = new javax.swing.JLabel();
        jLabel30 = new javax.swing.JLabel();
        jComboBoxArbitroSexo = new javax.swing.JComboBox();
        jButtonArbitroCriar = new javax.swing.JButton();
        jPanelArbitroGerir = new javax.swing.JPanel();
        jScrollPane9 = new javax.swing.JScrollPane();
        jListArbitroGerirListaArbitros = new javax.swing.JList();
        jLabel38 = new javax.swing.JLabel();
        jButton11 = new javax.swing.JButton();
        jButton22 = new javax.swing.JButton();
        jLabelArbitroGerirNome = new javax.swing.JLabel();
        jTextFieldArbitroGerirNome = new javax.swing.JTextField();
        jTextFieldArbitroGerirDataN = new javax.swing.JTextField();
        jLabelArbitroGerirDataN = new javax.swing.JLabel();
        jLabelArbitroGerirNac = new javax.swing.JLabel();
        jComboBoxArbitroGerirNac = new javax.swing.JComboBox();
        jComboBoxArbitroGerirSexo = new javax.swing.JComboBox();
        jLabelArbitroGerirSexo = new javax.swing.JLabel();
        jButton2 = new javax.swing.JButton();
        jPanelPessoasTreinador = new javax.swing.JPanel();
        jTabbedPaneTreinador = new javax.swing.JTabbedPane();
        jPanelTreinadorCriar = new javax.swing.JPanel();
        jLabel36 = new javax.swing.JLabel();
        jTextFieldTreinadorNome1 = new javax.swing.JTextField();
        jLabel37 = new javax.swing.JLabel();
        jTextFieldTreinadorDataN1 = new javax.swing.JTextField();
        jComboBoxTreinadorNac1 = new javax.swing.JComboBox();
        jLabel41 = new javax.swing.JLabel();
        jLabel42 = new javax.swing.JLabel();
        jComboBoxTreinadorSexo1 = new javax.swing.JComboBox();
        jButtonTreinadorCriar = new javax.swing.JButton();
        jPanelTreinadorGerir = new javax.swing.JPanel();
        jScrollPane10 = new javax.swing.JScrollPane();
        jListTreinadorGerirListaTreinadores = new javax.swing.JList();
        jLabel43 = new javax.swing.JLabel();
        jButton12 = new javax.swing.JButton();
        jLabelTreinadorGerirNome = new javax.swing.JLabel();
        jTextFieldTreinadorNome = new javax.swing.JTextField();
        jLabelTreinadorGerirDataN = new javax.swing.JLabel();
        jTextFieldTreinadorDataN = new javax.swing.JTextField();
        jLabelTreinadorGerirNac = new javax.swing.JLabel();
        jComboBoxTreinadorNac = new javax.swing.JComboBox();
        jLabelTreinadorGerirSexo = new javax.swing.JLabel();
        jComboBoxTreinadorSexo = new javax.swing.JComboBox();
        jButtonTreinadorGerirRemover = new javax.swing.JButton();
        jLabelTreinadorGerirEquipa = new javax.swing.JLabel();
        jComboBoxTreinadorGerirEquipa = new javax.swing.JComboBox();
        jPanel2 = new javax.swing.JPanel();
        jTabbedPaneEntidades = new javax.swing.JTabbedPane();
        jPanelEntidadesEquipa = new javax.swing.JPanel();
        jTabbedPaneEquipa = new javax.swing.JTabbedPane();
        jPanelEquipaCriar = new javax.swing.JPanel();
        jButton10 = new javax.swing.JButton();
        jLabel46 = new javax.swing.JLabel();
        jLabel47 = new javax.swing.JLabel();
        jTextFieldEquipaNome = new javax.swing.JTextField();
        jComboBoxTreinador_Equipa = new javax.swing.JComboBox();
        jComboBoxEscalao_Equipa = new javax.swing.JComboBox();
        jLabel77 = new javax.swing.JLabel();
        jComboBoxEscola_Equipa = new javax.swing.JComboBox();
        jLabel78 = new javax.swing.JLabel();
        jPanelEquipaGerir = new javax.swing.JPanel();
        jScrollPane11 = new javax.swing.JScrollPane();
        jListEquipaGerirListaEquipa = new javax.swing.JList();
        jLabel48 = new javax.swing.JLabel();
        jButton13 = new javax.swing.JButton();
        jLabelEquipaGerirNome = new javax.swing.JLabel();
        jTextFieldEquipaGerirNome = new javax.swing.JTextField();
        jLabelArbitroGerirDataN1 = new javax.swing.JLabel();
        jLabelEquipaGerirTreinador = new javax.swing.JLabel();
        jComboBoxEquipaGerirTrein = new javax.swing.JComboBox();
        jComboBoxEquipaGerirSexo = new javax.swing.JComboBox();
        jLabelEquipaGerirSexo = new javax.swing.JLabel();
        jButtontEquipaGerirRemove = new javax.swing.JButton();
        jComboBoxEquipaGerirNac = new javax.swing.JComboBox();
        jScrollPane16 = new javax.swing.JScrollPane();
        jListEquipaGerirJogadores = new javax.swing.JList();
        jLabelEquipaGerirJogadores = new javax.swing.JLabel();
        jButtontEquipaGerirRemove1 = new javax.swing.JButton();
        jLabelEquipaGerirJog = new javax.swing.JLabel();
        jComboBoxEquipaGerirJogs = new javax.swing.JComboBox();
        jButtontEquipaGerirAdicionaJog = new javax.swing.JButton();
        jPanelEntidadesEscola = new javax.swing.JPanel();
        jTabbedPaneEscola = new javax.swing.JTabbedPane();
        jPanelEscolaCriar = new javax.swing.JPanel();
        jButton14 = new javax.swing.JButton();
        jLabel51 = new javax.swing.JLabel();
        jLabel52 = new javax.swing.JLabel();
        jTextNome_Escola = new javax.swing.JTextField();
        jTextFieldLocalidade_Escola = new javax.swing.JTextField();
        jLabel32 = new javax.swing.JLabel();
        jComboBoxInstalacao_Escola = new javax.swing.JComboBox();
        jPanelEscolaGerir = new javax.swing.JPanel();
        jScrollPane12 = new javax.swing.JScrollPane();
        jListEscolaGerirListaEscola = new javax.swing.JList();
        jLabel53 = new javax.swing.JLabel();
        jButton15 = new javax.swing.JButton();
        jLabelEscolaGerirNome = new javax.swing.JLabel();
        jTextFieldArbitroGerirNome2 = new javax.swing.JTextField();
        jLabelEscolaGerirInstalacao = new javax.swing.JLabel();
        jComboBoxArbitroGerirNac4 = new javax.swing.JComboBox();
        jLabelJogadorGerirEquipa1 = new javax.swing.JLabel();
        jComboBoxJogadoresGerirEquipa1 = new javax.swing.JComboBox();
        jLabelEscolaGerirNome1 = new javax.swing.JLabel();
        jTextFieldArbitroGerirNome3 = new javax.swing.JTextField();
        jButtontEscolaGerirRemove = new javax.swing.JButton();
        jPanel3 = new javax.swing.JPanel();
        jTabbedPaneCompeticoes = new javax.swing.JTabbedPane();
        jPanelComepeticoesCampeonato = new javax.swing.JPanel();
        jTabbedPaneCampeonato = new javax.swing.JTabbedPane();
        jPanelCampeonatoCriar = new javax.swing.JPanel();
        jButton16 = new javax.swing.JButton();
        jLabel56 = new javax.swing.JLabel();
        jLabel57 = new javax.swing.JLabel();
        jTextField26 = new javax.swing.JTextField();
        jTextField27 = new javax.swing.JTextField();
        jPanelCampeonatoGerir = new javax.swing.JPanel();
        jScrollPane13 = new javax.swing.JScrollPane();
        jListCampeonatoGerirListaCamp = new javax.swing.JList();
        jLabel58 = new javax.swing.JLabel();
        jLabelCampeonatoGerirNome = new javax.swing.JLabel();
        jLabelCampeonatoGerirEpoca = new javax.swing.JLabel();
        jTextFieldCampeonatoGerirNome = new javax.swing.JTextField();
        jTextFieldCampeonatoGerirEpoca = new javax.swing.JTextField();
        jButton17 = new javax.swing.JButton();
        jButtonCampeonatoGerirRemover = new javax.swing.JButton();
        jLabelEquipaGerirJog1 = new javax.swing.JLabel();
        jButtontCampeonatoGerirAdicionaEquipa = new javax.swing.JButton();
        jScrollPane17 = new javax.swing.JScrollPane();
        jListEquipaGerirJogadores1 = new javax.swing.JList();
        jButtontCampeonatoGerirRemoveEquipa = new javax.swing.JButton();
        jLabelEquipaGerirJogadores1 = new javax.swing.JLabel();
        jComboBoxCampeonatoGerirEquipa = new javax.swing.JComboBox();
        jPanelComepeticoesTorneio = new javax.swing.JPanel();
        jTabbedPaneCampeonato1 = new javax.swing.JTabbedPane();
        jPanelTorneioCriar = new javax.swing.JPanel();
        jButton18 = new javax.swing.JButton();
        jLabel61 = new javax.swing.JLabel();
        jLabel62 = new javax.swing.JLabel();
        jTextField30 = new javax.swing.JTextField();
        jTextField31 = new javax.swing.JTextField();
        jPanelTorneioGerir = new javax.swing.JPanel();
        jScrollPane14 = new javax.swing.JScrollPane();
        jList9 = new javax.swing.JList();
        jLabel63 = new javax.swing.JLabel();
        jLabel64 = new javax.swing.JLabel();
        jLabel65 = new javax.swing.JLabel();
        jTextField32 = new javax.swing.JTextField();
        jTextField33 = new javax.swing.JTextField();
        jButton19 = new javax.swing.JButton();
        jPanelComepeticoesCampTorneio = new javax.swing.JPanel();
        jTabbedPaneCampeonatoTorneio = new javax.swing.JTabbedPane();
        jPanelCampeonatoTorneioCriar = new javax.swing.JPanel();
        jButton20 = new javax.swing.JButton();
        jLabel66 = new javax.swing.JLabel();
        jLabel67 = new javax.swing.JLabel();
        jTextField34 = new javax.swing.JTextField();
        jTextField35 = new javax.swing.JTextField();
        jPanelCampeonatoTorneioGerir = new javax.swing.JPanel();
        jScrollPane15 = new javax.swing.JScrollPane();
        jList10 = new javax.swing.JList();
        jLabel68 = new javax.swing.JLabel();
        jLabel69 = new javax.swing.JLabel();
        jLabel70 = new javax.swing.JLabel();
        jTextField36 = new javax.swing.JTextField();
        jTextField37 = new javax.swing.JTextField();
        jButton21 = new javax.swing.JButton();
        jPanel4 = new javax.swing.JPanel();
        jTabbedPaneRelatorios = new javax.swing.JTabbedPane();
        jPanelRelatoriosSubmeter = new javax.swing.JPanel();
        jPanelRelatoriosConsultar = new javax.swing.JPanel();
        jPanel5 = new javax.swing.JPanel();
        jTabbedPaneEstatisticas = new javax.swing.JTabbedPane();
        jPanelEstatisticasMaisCartoes = new javax.swing.JPanel();
        jScrollPane1 = new javax.swing.JScrollPane();
        jTable1 = new javax.swing.JTable();
        jLabel4 = new javax.swing.JLabel();
        jScrollPane2 = new javax.swing.JScrollPane();
        jTable2 = new javax.swing.JTable();
        jLabel5 = new javax.swing.JLabel();
        jComboBox1 = new javax.swing.JComboBox();
        jPanelEstatisticasMaisGolos = new javax.swing.JPanel();
        jLabel6 = new javax.swing.JLabel();
        jScrollPane3 = new javax.swing.JScrollPane();
        jTable3 = new javax.swing.JTable();
        jScrollPane4 = new javax.swing.JScrollPane();
        jTable4 = new javax.swing.JTable();
        jLabel7 = new javax.swing.JLabel();
        jComboBox2 = new javax.swing.JComboBox();
        jPanel6 = new javax.swing.JPanel();
        jTabbedPane7 = new javax.swing.JTabbedPane();
        jPanel19 = new javax.swing.JPanel();
        jTabbedPaneEscaloes = new javax.swing.JTabbedPane();
        jPanel24 = new javax.swing.JPanel();
        jButton4 = new javax.swing.JButton();
        jLabel12 = new javax.swing.JLabel();
        jLabel13 = new javax.swing.JLabel();
        jTextField3 = new javax.swing.JTextField();
        jTextField4 = new javax.swing.JTextField();
        jPanel25 = new javax.swing.JPanel();
        jScrollPane5 = new javax.swing.JScrollPane();
        jList1 = new javax.swing.JList();
        jLabel14 = new javax.swing.JLabel();
        jLabel15 = new javax.swing.JLabel();
        jLabel16 = new javax.swing.JLabel();
        jTextField5 = new javax.swing.JTextField();
        jTextField6 = new javax.swing.JTextField();
        jButton7 = new javax.swing.JButton();
        jPanel20 = new javax.swing.JPanel();
        jTabbedPaneInstalacoes = new javax.swing.JTabbedPane();
        jPanel26 = new javax.swing.JPanel();
        jButton5 = new javax.swing.JButton();
        jLabel17 = new javax.swing.JLabel();
        jLabel18 = new javax.swing.JLabel();
        jTextField7 = new javax.swing.JTextField();
        jTextField8 = new javax.swing.JTextField();
        jPanel27 = new javax.swing.JPanel();
        jScrollPane6 = new javax.swing.JScrollPane();
        jList2 = new javax.swing.JList();
        jLabel19 = new javax.swing.JLabel();
        jLabel20 = new javax.swing.JLabel();
        jLabel21 = new javax.swing.JLabel();
        jTextField9 = new javax.swing.JTextField();
        jTextField10 = new javax.swing.JTextField();
        jLabel22 = new javax.swing.JLabel();
        jComboBox4 = new javax.swing.JComboBox();
        jButton6 = new javax.swing.JButton();
        jPanel21 = new javax.swing.JPanel();
        jTabbedPaneUtilizadores = new javax.swing.JTabbedPane();
        jPanelUtilizadorCriar = new javax.swing.JPanel();
        jRadioButton1 = new javax.swing.JRadioButton();
        jRadioButton2 = new javax.swing.JRadioButton();
        jLabel8 = new javax.swing.JLabel();
        jLabel9 = new javax.swing.JLabel();
        jTextField2 = new javax.swing.JTextField();
        jLabel10 = new javax.swing.JLabel();
        jPasswordField2 = new javax.swing.JPasswordField();
        jButton3 = new javax.swing.JButton();
        jComboBox3 = new javax.swing.JComboBox();
        jLabel11 = new javax.swing.JLabel();
        jCheckBox1 = new javax.swing.JCheckBox();
        jPanelUtilizadorGerir = new javax.swing.JPanel();
        jLabel23 = new javax.swing.JLabel();
        jScrollPane7 = new javax.swing.JScrollPane();
        jList3 = new javax.swing.JList();
        jLabel24 = new javax.swing.JLabel();
        jTextField11 = new javax.swing.JTextField();
        jTextField12 = new javax.swing.JTextField();
        jLabel25 = new javax.swing.JLabel();
        jButton8 = new javax.swing.JButton();
        jLabel27 = new javax.swing.JLabel();
        jRadioButton3 = new javax.swing.JRadioButton();
        jRadioButton4 = new javax.swing.JRadioButton();
        jLabel26 = new javax.swing.JLabel();

        jButton1.setText("jButton1");

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);

        jLabel1.setFont(new java.awt.Font("Tahoma", 0, 24)); // NOI18N
        jLabel1.setText("BananaGEF");

        jLabel2.setText("user");

        jTextFieldLoginUsername.setText("user");

        jLabel3.setText("pass");

        jPasswordFieldLoginPass.setText("pass");

        jButtonLOGIN.setText("LOGIN");
        jButtonLOGIN.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButtonLOGINActionPerformed(evt);
            }
        });

        jPanelJogadorCriar.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusGained(java.awt.event.FocusEvent evt) {
                jPanelJogadorCriar_FocusGained(evt);
            }
        });

        jLabel71.setText("Nome");

        jTextFieldJogadorNome.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jTextFieldJogadorNomeActionPerformed(evt);
            }
        });

        jLabel72.setText("Data Nascimento");

        jComboBoxJogadorNac1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Portugal", "Espanha", "França", "Alemanha", "Angola", "Estados Unidos", "Inglaterra", "Suíça", "Belgica", "Bulgária" }));

        jLabel75.setText("Nacionalidade");

        jLabel76.setText("Sexo");

        jComboBoxJogadorSexo1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Masculino", "Feminino" }));

        jButtonJogadorCriar.setText("Criar");
        jButtonJogadorCriar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButtonJogadorCriarActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanelJogadorCriarLayout = new javax.swing.GroupLayout(jPanelJogadorCriar);
        jPanelJogadorCriar.setLayout(jPanelJogadorCriarLayout);
        jPanelJogadorCriarLayout.setHorizontalGroup(
            jPanelJogadorCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelJogadorCriarLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanelJogadorCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabel72)
                    .addComponent(jLabel76)
                    .addComponent(jLabel71, javax.swing.GroupLayout.PREFERRED_SIZE, 53, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(jPanelJogadorCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                        .addComponent(jButtonJogadorCriar)
                        .addComponent(jLabel75)))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jPanelJogadorCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jTextFieldJogadorNome, javax.swing.GroupLayout.PREFERRED_SIZE, 219, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(jPanelJogadorCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                        .addComponent(jTextFieldJogadorDataN, javax.swing.GroupLayout.Alignment.LEADING)
                        .addComponent(jComboBoxJogadorNac1, javax.swing.GroupLayout.Alignment.LEADING, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(jComboBoxJogadorSexo1, javax.swing.GroupLayout.Alignment.LEADING, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
                .addContainerGap(199, Short.MAX_VALUE))
        );
        jPanelJogadorCriarLayout.setVerticalGroup(
            jPanelJogadorCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelJogadorCriarLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanelJogadorCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel71)
                    .addComponent(jTextFieldJogadorNome, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jPanelJogadorCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jTextFieldJogadorDataN, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel72))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanelJogadorCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel75)
                    .addComponent(jComboBoxJogadorNac1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(7, 7, 7)
                .addGroup(jPanelJogadorCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jComboBoxJogadorSexo1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel76))
                .addGap(40, 40, 40)
                .addComponent(jButtonJogadorCriar)
                .addContainerGap(210, Short.MAX_VALUE))
        );

        jTabbedPaneJogadores.addTab("Criar", jPanelJogadorCriar);

        jPanelJogadorGerir.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusGained(java.awt.event.FocusEvent evt) {
                jPanelJogadorGerirFocusGained(evt);
            }
        });

        jLabelJogadorGerirLista.setText("Lista de Jogadores");

        jListJogadorGerirListaJogadores.setModel(new javax.swing.AbstractListModel() {
            String[] strings = { "Prof_KIKO", "CarlaBOMBASTICA", "JoaoMiguel100", "XistraRef" };
            public int getSize() { return strings.length; }
            public Object getElementAt(int i) { return strings[i]; }
        });
        jListJogadorGerirListaJogadores.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
        jListJogadorGerirListaJogadores.addListSelectionListener(new javax.swing.event.ListSelectionListener() {
            public void valueChanged(javax.swing.event.ListSelectionEvent evt) {
                jListJogadorGerirListaJogadoresValueChanged(evt);
            }
        });
        jScrollPane8.setViewportView(jListJogadorGerirListaJogadores);

        jLabelPessoasJogadorGerirNome.setText("Nome");

        jLabelPessoasJogadorGerirDataN.setText("Data de Nascimento");

        jButtonJogadorGerirAlterar.setText("Alterar");

        jButtonJogadorGerirRemover.setText("Remover");
        jButtonJogadorGerirRemover.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButtonJogadorGerirRemoverActionPerformed(evt);
            }
        });

        jLabel73.setText("Nacionalidade");

        jComboBoxJogadorNac.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Portugal" }));

        jLabel74.setText("Sexo");

        jComboBoxJogadorSexo.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Masculino", "Feminino" }));

        jLabelJogadorGerirEquipa.setText("Equipa");

        jComboBoxJogadoresGerirEquipa.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "---", "Fute FC", "Junioes das Taipas Secundaria", "Macedo de Caballeros SC" }));

        javax.swing.GroupLayout jPanelJogadorGerirLayout = new javax.swing.GroupLayout(jPanelJogadorGerir);
        jPanelJogadorGerir.setLayout(jPanelJogadorGerirLayout);
        jPanelJogadorGerirLayout.setHorizontalGroup(
            jPanelJogadorGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelJogadorGerirLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanelJogadorGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabelJogadorGerirLista)
                    .addGroup(jPanelJogadorGerirLayout.createSequentialGroup()
                        .addComponent(jScrollPane8, javax.swing.GroupLayout.PREFERRED_SIZE, 113, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGroup(jPanelJogadorGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addGroup(javax.swing.GroupLayout.Alignment.LEADING, jPanelJogadorGerirLayout.createSequentialGroup()
                                .addGap(36, 36, 36)
                                .addComponent(jLabelPessoasJogadorGerirNome))
                            .addGroup(javax.swing.GroupLayout.Alignment.LEADING, jPanelJogadorGerirLayout.createSequentialGroup()
                                .addGap(37, 37, 37)
                                .addGroup(jPanelJogadorGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                    .addGroup(jPanelJogadorGerirLayout.createSequentialGroup()
                                        .addComponent(jButtonJogadorGerirAlterar)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                        .addComponent(jButtonJogadorGerirRemover))
                                    .addGroup(jPanelJogadorGerirLayout.createSequentialGroup()
                                        .addComponent(jLabelPessoasJogadorGerirDataN)
                                        .addGap(25, 25, 25)
                                        .addGroup(jPanelJogadorGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                            .addComponent(jTextFieldJogadorGerirNome)
                                            .addComponent(jTextFieldJogadorGerirDataN, javax.swing.GroupLayout.DEFAULT_SIZE, 102, Short.MAX_VALUE)))
                                    .addGroup(jPanelJogadorGerirLayout.createSequentialGroup()
                                        .addGroup(jPanelJogadorGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                            .addComponent(jLabel74)
                                            .addComponent(jLabel73)
                                            .addComponent(jLabelJogadorGerirEquipa))
                                        .addGap(5, 5, 5)
                                        .addGroup(jPanelJogadorGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                            .addComponent(jComboBoxJogadorSexo, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                            .addComponent(jComboBoxJogadoresGerirEquipa, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                            .addComponent(jComboBoxJogadorNac, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))))))))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanelJogadorGerirLayout.setVerticalGroup(
            jPanelJogadorGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelJogadorGerirLayout.createSequentialGroup()
                .addGroup(jPanelJogadorGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addGroup(jPanelJogadorGerirLayout.createSequentialGroup()
                        .addGap(18, 18, 18)
                        .addComponent(jLabelJogadorGerirLista)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jScrollPane8, javax.swing.GroupLayout.PREFERRED_SIZE, 162, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(jPanelJogadorGerirLayout.createSequentialGroup()
                        .addGap(35, 35, 35)
                        .addGroup(jPanelJogadorGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabelPessoasJogadorGerirNome)
                            .addComponent(jTextFieldJogadorGerirNome, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanelJogadorGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabelPessoasJogadorGerirDataN)
                            .addComponent(jTextFieldJogadorGerirDataN, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanelJogadorGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabel73)
                            .addComponent(jComboBoxJogadorNac, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGap(7, 7, 7)
                        .addGroup(jPanelJogadorGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jComboBoxJogadorSexo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabel74))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(jPanelJogadorGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabelJogadorGerirEquipa)
                            .addComponent(jComboBoxJogadoresGerirEquipa, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addGroup(jPanelJogadorGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jButtonJogadorGerirAlterar)
                            .addComponent(jButtonJogadorGerirRemover))))
                .addContainerGap(182, Short.MAX_VALUE))
        );

        jTabbedPaneJogadores.addTab("Gerir", jPanelJogadorGerir);

        javax.swing.GroupLayout jPanelPessoasJogadorLayout = new javax.swing.GroupLayout(jPanelPessoasJogador);
        jPanelPessoasJogador.setLayout(jPanelPessoasJogadorLayout);
        jPanelPessoasJogadorLayout.setHorizontalGroup(
            jPanelPessoasJogadorLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jTabbedPaneJogadores)
        );
        jPanelPessoasJogadorLayout.setVerticalGroup(
            jPanelPessoasJogadorLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jTabbedPaneJogadores)
        );

        jTabbedPanePessoas.addTab("Jogador", jPanelPessoasJogador);

        jLabelArbitroErro1.setForeground(java.awt.Color.red);

        jLabelArbitroErro2.setForeground(java.awt.Color.red);

        jLabelArbitroErro3.setForeground(java.awt.Color.red);

        jLabelArbitroErro4.setForeground(java.awt.Color.red);

        jLabel28.setText("Nome");

        jLabel29.setText("Data Nascimento");

        jComboBoxArbitroNac.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Portugal", "Espanha", "França", "Alemanha", "Angola", "Estados Unidos", "Inglaterra", "Suíça", "Belgica", "Bulgária" }));

        jLabel31.setText("Nacionalidade");

        jLabel30.setText("Sexo");

        jComboBoxArbitroSexo.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Masculino", "Feminino" }));

        jButtonArbitroCriar.setText("Criar");
        jButtonArbitroCriar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButtonArbitroCriarActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanelArbitroCriarLayout = new javax.swing.GroupLayout(jPanelArbitroCriar);
        jPanelArbitroCriar.setLayout(jPanelArbitroCriarLayout);
        jPanelArbitroCriarLayout.setHorizontalGroup(
            jPanelArbitroCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelArbitroCriarLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanelArbitroCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jButtonArbitroCriar)
                    .addGroup(jPanelArbitroCriarLayout.createSequentialGroup()
                        .addGroup(jPanelArbitroCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabel29)
                            .addComponent(jLabel30)
                            .addComponent(jLabel31)
                            .addComponent(jLabel28, javax.swing.GroupLayout.PREFERRED_SIZE, 53, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(jPanelArbitroCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jTextFieldArbitroNome, javax.swing.GroupLayout.PREFERRED_SIZE, 219, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addGroup(jPanelArbitroCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                                .addComponent(jTextFieldArbitroDataN, javax.swing.GroupLayout.Alignment.LEADING)
                                .addComponent(jComboBoxArbitroNac, javax.swing.GroupLayout.Alignment.LEADING, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                .addComponent(jComboBoxArbitroSexo, javax.swing.GroupLayout.Alignment.LEADING, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))))
                .addContainerGap(196, Short.MAX_VALUE))
        );
        jPanelArbitroCriarLayout.setVerticalGroup(
            jPanelArbitroCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelArbitroCriarLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanelArbitroCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel28)
                    .addComponent(jTextFieldArbitroNome, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jPanelArbitroCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jTextFieldArbitroDataN, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel29))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanelArbitroCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel31)
                    .addComponent(jComboBoxArbitroNac, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(7, 7, 7)
                .addGroup(jPanelArbitroCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jComboBoxArbitroSexo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel30))
                .addGap(43, 43, 43)
                .addComponent(jButtonArbitroCriar)
                .addContainerGap(63, Short.MAX_VALUE))
        );

        jTabbedPaneArbitro.addTab("Criar", jPanelArbitroCriar);

        jPanelArbitroGerir.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusGained(java.awt.event.FocusEvent evt) {
                jPanelArbitroGerirFocusGained(evt);
            }
        });

        jListArbitroGerirListaArbitros.setModel(new javax.swing.AbstractListModel() {
            String[] strings = { "Xistra", "Benquerença", "Gomes", "Costinha" };
            public int getSize() { return strings.length; }
            public Object getElementAt(int i) { return strings[i]; }
        });
        jListArbitroGerirListaArbitros.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
        jListArbitroGerirListaArbitros.addListSelectionListener(new javax.swing.event.ListSelectionListener() {
            public void valueChanged(javax.swing.event.ListSelectionEvent evt) {
                jListArbitroGerirListaArbitrosValueChanged(evt);
            }
        });
        jScrollPane9.setViewportView(jListArbitroGerirListaArbitros);

        jLabel38.setText("Lista de Árbitros");

        jButton11.setText("Alterar");

        jButton22.setText("Remover");
        jButton22.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton22ActionPerformed(evt);
            }
        });

        jLabelArbitroGerirNome.setText("Nome");

        jLabelArbitroGerirDataN.setText("Data Nascimento");

        jLabelArbitroGerirNac.setText("Nacionalidade");

        jComboBoxArbitroGerirNac.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Portugal" }));

        jComboBoxArbitroGerirSexo.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Masculino", "Feminino" }));

        jLabelArbitroGerirSexo.setText("Sexo");

        jButton2.setText("jButton2");
        jButton2.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton2ActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanelArbitroGerirLayout = new javax.swing.GroupLayout(jPanelArbitroGerir);
        jPanelArbitroGerir.setLayout(jPanelArbitroGerirLayout);
        jPanelArbitroGerirLayout.setHorizontalGroup(
            jPanelArbitroGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelArbitroGerirLayout.createSequentialGroup()
                .addGroup(jPanelArbitroGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanelArbitroGerirLayout.createSequentialGroup()
                        .addContainerGap()
                        .addGroup(jPanelArbitroGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanelArbitroGerirLayout.createSequentialGroup()
                                .addComponent(jScrollPane9, javax.swing.GroupLayout.PREFERRED_SIZE, 113, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGap(30, 30, 30)
                                .addGroup(jPanelArbitroGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addGroup(jPanelArbitroGerirLayout.createSequentialGroup()
                                        .addComponent(jButton11)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                        .addComponent(jButton22))
                                    .addGroup(jPanelArbitroGerirLayout.createSequentialGroup()
                                        .addGroup(jPanelArbitroGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                            .addComponent(jLabelArbitroGerirDataN)
                                            .addComponent(jLabelArbitroGerirSexo)
                                            .addComponent(jLabelArbitroGerirNac)
                                            .addComponent(jLabelArbitroGerirNome, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE))
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                        .addGroup(jPanelArbitroGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                            .addComponent(jComboBoxArbitroGerirSexo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(jTextFieldArbitroGerirNome)
                                            .addComponent(jTextFieldArbitroGerirDataN)
                                            .addComponent(jComboBoxArbitroGerirNac, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))))
                            .addComponent(jLabel38)))
                    .addGroup(jPanelArbitroGerirLayout.createSequentialGroup()
                        .addGap(82, 82, 82)
                        .addComponent(jButton2)))
                .addContainerGap(152, Short.MAX_VALUE))
        );
        jPanelArbitroGerirLayout.setVerticalGroup(
            jPanelArbitroGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelArbitroGerirLayout.createSequentialGroup()
                .addGap(18, 18, 18)
                .addComponent(jLabel38)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanelArbitroGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                    .addGroup(jPanelArbitroGerirLayout.createSequentialGroup()
                        .addGroup(jPanelArbitroGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabelArbitroGerirNome)
                            .addComponent(jTextFieldArbitroGerirNome, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(jPanelArbitroGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jTextFieldArbitroGerirDataN, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabelArbitroGerirDataN))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanelArbitroGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabelArbitroGerirNac)
                            .addComponent(jComboBoxArbitroGerirNac, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGap(7, 7, 7)
                        .addGroup(jPanelArbitroGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jComboBoxArbitroGerirSexo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabelArbitroGerirSexo))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addGroup(jPanelArbitroGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jButton22)
                            .addComponent(jButton11)))
                    .addComponent(jScrollPane9, javax.swing.GroupLayout.PREFERRED_SIZE, 162, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addComponent(jButton2)
                .addContainerGap(19, Short.MAX_VALUE))
        );

        jTabbedPaneArbitro.addTab("Gerir", jPanelArbitroGerir);

        javax.swing.GroupLayout jPanelPessoasArbitroLayout = new javax.swing.GroupLayout(jPanelPessoasArbitro);
        jPanelPessoasArbitro.setLayout(jPanelPessoasArbitroLayout);
        jPanelPessoasArbitroLayout.setHorizontalGroup(
            jPanelPessoasArbitroLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelPessoasArbitroLayout.createSequentialGroup()
                .addGroup(jPanelPessoasArbitroLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanelPessoasArbitroLayout.createSequentialGroup()
                        .addGap(132, 132, 132)
                        .addComponent(jLabelArbitroErro1))
                    .addGroup(jPanelPessoasArbitroLayout.createSequentialGroup()
                        .addGap(176, 176, 176)
                        .addComponent(jLabelArbitroErro3))
                    .addGroup(jPanelPessoasArbitroLayout.createSequentialGroup()
                        .addGap(156, 156, 156)
                        .addComponent(jLabelArbitroErro2))
                    .addGroup(jPanelPessoasArbitroLayout.createSequentialGroup()
                        .addGap(182, 182, 182)
                        .addComponent(jLabelArbitroErro4))
                    .addComponent(jTabbedPaneArbitro, javax.swing.GroupLayout.PREFERRED_SIZE, 562, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanelPessoasArbitroLayout.setVerticalGroup(
            jPanelPessoasArbitroLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanelPessoasArbitroLayout.createSequentialGroup()
                .addComponent(jTabbedPaneArbitro, javax.swing.GroupLayout.PREFERRED_SIZE, 322, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabelArbitroErro1)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jLabelArbitroErro2)
                .addGap(26, 26, 26)
                .addComponent(jLabelArbitroErro3)
                .addGap(27, 27, 27)
                .addComponent(jLabelArbitroErro4)
                .addContainerGap(73, Short.MAX_VALUE))
        );

        jTabbedPanePessoas.addTab("Árbitro", jPanelPessoasArbitro);

        jLabel36.setText("Nome");

        jLabel37.setText("Data Nascimento");

        jComboBoxTreinadorNac1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Portugal", "Espanha", "França", "Alemanha", "Angola", "Estados Unidos", "Inglaterra", "Suíça", "Belgica", "Bulgária" }));

        jLabel41.setText("Nacionalidade");

        jLabel42.setText("Sexo");

        jComboBoxTreinadorSexo1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Masculino", "Feminino" }));

        jButtonTreinadorCriar.setText("Criar");
        jButtonTreinadorCriar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButtonTreinadorCriarActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanelTreinadorCriarLayout = new javax.swing.GroupLayout(jPanelTreinadorCriar);
        jPanelTreinadorCriar.setLayout(jPanelTreinadorCriarLayout);
        jPanelTreinadorCriarLayout.setHorizontalGroup(
            jPanelTreinadorCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelTreinadorCriarLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanelTreinadorCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jButtonTreinadorCriar)
                    .addGroup(jPanelTreinadorCriarLayout.createSequentialGroup()
                        .addGroup(jPanelTreinadorCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabel37)
                            .addComponent(jLabel42)
                            .addComponent(jLabel41)
                            .addComponent(jLabel36, javax.swing.GroupLayout.PREFERRED_SIZE, 63, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(jPanelTreinadorCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanelTreinadorCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                .addComponent(jComboBoxTreinadorSexo1, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                .addComponent(jTextFieldTreinadorDataN1)
                                .addComponent(jComboBoxTreinadorNac1, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                            .addComponent(jTextFieldTreinadorNome1, javax.swing.GroupLayout.PREFERRED_SIZE, 201, javax.swing.GroupLayout.PREFERRED_SIZE))))
                .addContainerGap(214, Short.MAX_VALUE))
        );
        jPanelTreinadorCriarLayout.setVerticalGroup(
            jPanelTreinadorCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelTreinadorCriarLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanelTreinadorCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel36)
                    .addComponent(jTextFieldTreinadorNome1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jPanelTreinadorCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jTextFieldTreinadorDataN1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel37))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanelTreinadorCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel41)
                    .addComponent(jComboBoxTreinadorNac1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(7, 7, 7)
                .addGroup(jPanelTreinadorCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jComboBoxTreinadorSexo1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel42))
                .addGap(43, 43, 43)
                .addComponent(jButtonTreinadorCriar)
                .addContainerGap(207, Short.MAX_VALUE))
        );

        jTabbedPaneTreinador.addTab("Criar", jPanelTreinadorCriar);

        jPanelTreinadorGerir.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusGained(java.awt.event.FocusEvent evt) {
                jPanelTreinadorGerirFocusGained(evt);
            }
        });

        jListTreinadorGerirListaTreinadores.setModel(new javax.swing.AbstractListModel() {
            String[] strings = { "Bento", "Especial Um", "JuJu Ferreira", "Leo Jardim" };
            public int getSize() { return strings.length; }
            public Object getElementAt(int i) { return strings[i]; }
        });
        jListTreinadorGerirListaTreinadores.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
        jScrollPane10.setViewportView(jListTreinadorGerirListaTreinadores);

        jLabel43.setText("Lista de Treinadores");

        jButton12.setText("Alterar");

        jLabelTreinadorGerirNome.setText("Nome");

        jLabelTreinadorGerirDataN.setText("Data Nascimento");

        jLabelTreinadorGerirNac.setText("Nacionalidade");

        jComboBoxTreinadorNac.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Portugal" }));

        jLabelTreinadorGerirSexo.setText("Sexo");

        jComboBoxTreinadorSexo.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Masculino", "Feminino" }));

        jButtonTreinadorGerirRemover.setText("Remover");
        jButtonTreinadorGerirRemover.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButtonTreinadorGerirRemoverActionPerformed(evt);
            }
        });

        jLabelTreinadorGerirEquipa.setText("Equipa");

        jComboBoxTreinadorGerirEquipa.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "---", "Fute FC", "Junioes das Taipas Secundaria", "Macedo de Caballeros SC" }));

        javax.swing.GroupLayout jPanelTreinadorGerirLayout = new javax.swing.GroupLayout(jPanelTreinadorGerir);
        jPanelTreinadorGerir.setLayout(jPanelTreinadorGerirLayout);
        jPanelTreinadorGerirLayout.setHorizontalGroup(
            jPanelTreinadorGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelTreinadorGerirLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanelTreinadorGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanelTreinadorGerirLayout.createSequentialGroup()
                        .addComponent(jScrollPane10, javax.swing.GroupLayout.PREFERRED_SIZE, 113, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGroup(jPanelTreinadorGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanelTreinadorGerirLayout.createSequentialGroup()
                                .addGap(27, 27, 27)
                                .addComponent(jButton12)
                                .addGap(18, 18, 18)
                                .addComponent(jButtonTreinadorGerirRemover))
                            .addGroup(jPanelTreinadorGerirLayout.createSequentialGroup()
                                .addGap(36, 36, 36)
                                .addGroup(jPanelTreinadorGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(jLabelTreinadorGerirDataN)
                                    .addComponent(jLabelTreinadorGerirSexo)
                                    .addComponent(jLabelTreinadorGerirNac)
                                    .addComponent(jLabelTreinadorGerirNome, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(jLabelTreinadorGerirEquipa))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addGroup(jPanelTreinadorGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(jComboBoxTreinadorGerirEquipa, javax.swing.GroupLayout.PREFERRED_SIZE, 71, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addGroup(jPanelTreinadorGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                        .addComponent(jTextFieldTreinadorNome)
                                        .addComponent(jTextFieldTreinadorDataN)
                                        .addComponent(jComboBoxTreinadorNac, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                        .addComponent(jComboBoxTreinadorSexo, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))))))
                    .addComponent(jLabel43))
                .addContainerGap(146, Short.MAX_VALUE))
        );
        jPanelTreinadorGerirLayout.setVerticalGroup(
            jPanelTreinadorGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelTreinadorGerirLayout.createSequentialGroup()
                .addGap(18, 18, 18)
                .addComponent(jLabel43)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanelTreinadorGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                    .addGroup(jPanelTreinadorGerirLayout.createSequentialGroup()
                        .addGroup(jPanelTreinadorGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabelTreinadorGerirNome)
                            .addComponent(jTextFieldTreinadorNome, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(jPanelTreinadorGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jTextFieldTreinadorDataN, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabelTreinadorGerirDataN))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanelTreinadorGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabelTreinadorGerirNac)
                            .addComponent(jComboBoxTreinadorNac, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGap(7, 7, 7)
                        .addGroup(jPanelTreinadorGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jComboBoxTreinadorSexo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabelTreinadorGerirSexo))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addGroup(jPanelTreinadorGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabelTreinadorGerirEquipa)
                            .addComponent(jComboBoxTreinadorGerirEquipa, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanelTreinadorGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jButton12)
                            .addComponent(jButtonTreinadorGerirRemover)))
                    .addComponent(jScrollPane10, javax.swing.GroupLayout.PREFERRED_SIZE, 162, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(177, Short.MAX_VALUE))
        );

        jTabbedPaneTreinador.addTab("Gerir", jPanelTreinadorGerir);

        javax.swing.GroupLayout jPanelPessoasTreinadorLayout = new javax.swing.GroupLayout(jPanelPessoasTreinador);
        jPanelPessoasTreinador.setLayout(jPanelPessoasTreinadorLayout);
        jPanelPessoasTreinadorLayout.setHorizontalGroup(
            jPanelPessoasTreinadorLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelPessoasTreinadorLayout.createSequentialGroup()
                .addComponent(jTabbedPaneTreinador, javax.swing.GroupLayout.PREFERRED_SIZE, 562, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(0, 3, Short.MAX_VALUE))
        );
        jPanelPessoasTreinadorLayout.setVerticalGroup(
            jPanelPessoasTreinadorLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jTabbedPaneTreinador)
        );

        jTabbedPanePessoas.addTab("Treinador", jPanelPessoasTreinador);

        javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
        jPanel1.setLayout(jPanel1Layout);
        jPanel1Layout.setHorizontalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addComponent(jTabbedPanePessoas, javax.swing.GroupLayout.PREFERRED_SIZE, 586, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(0, 0, Short.MAX_VALUE))
        );
        jPanel1Layout.setVerticalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jTabbedPanePessoas)
        );

        jTabbedPane1.addTab("PESSOAS", jPanel1);

        jPanelEquipaCriar.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusGained(java.awt.event.FocusEvent evt) {
                jPanelEquipaCriar_FocusGained(evt);
            }
        });

        jButton10.setText("Criar");
        jButton10.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton10ActionPerformed(evt);
            }
        });

        jLabel46.setText("Nome");

        jLabel47.setText("Treinador");

        jComboBoxTreinador_Equipa.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Treinador", " " }));

        jComboBoxEscalao_Equipa.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Escalão" }));

        jLabel77.setText("Escalão");

        jComboBoxEscola_Equipa.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Escola" }));
        jComboBoxEscola_Equipa.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jComboBoxEscola_EquipaActionPerformed(evt);
            }
        });

        jLabel78.setText("Escola");

        javax.swing.GroupLayout jPanelEquipaCriarLayout = new javax.swing.GroupLayout(jPanelEquipaCriar);
        jPanelEquipaCriar.setLayout(jPanelEquipaCriarLayout);
        jPanelEquipaCriarLayout.setHorizontalGroup(
            jPanelEquipaCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelEquipaCriarLayout.createSequentialGroup()
                .addGroup(jPanelEquipaCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanelEquipaCriarLayout.createSequentialGroup()
                        .addContainerGap()
                        .addGroup(jPanelEquipaCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabel47)
                            .addComponent(jLabel46, javax.swing.GroupLayout.PREFERRED_SIZE, 56, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabel77)
                            .addComponent(jLabel78))
                        .addGap(29, 29, 29)
                        .addGroup(jPanelEquipaCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addComponent(jComboBoxEscalao_Equipa, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(jTextFieldEquipaNome)
                            .addComponent(jComboBoxTreinador_Equipa, 0, 144, Short.MAX_VALUE)
                            .addComponent(jComboBoxEscola_Equipa, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
                    .addGroup(jPanelEquipaCriarLayout.createSequentialGroup()
                        .addGap(19, 19, 19)
                        .addComponent(jButton10)))
                .addContainerGap(302, Short.MAX_VALUE))
        );
        jPanelEquipaCriarLayout.setVerticalGroup(
            jPanelEquipaCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanelEquipaCriarLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanelEquipaCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel46)
                    .addComponent(jTextFieldEquipaNome, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanelEquipaCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel47)
                    .addComponent(jComboBoxTreinador_Equipa, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanelEquipaCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel77)
                    .addComponent(jComboBoxEscalao_Equipa, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanelEquipaCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel78)
                    .addComponent(jComboBoxEscola_Equipa, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addComponent(jButton10)
                .addContainerGap(240, Short.MAX_VALUE))
        );

        jTabbedPaneEquipa.addTab("Criar", jPanelEquipaCriar);

        jPanelEquipaGerir.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusGained(java.awt.event.FocusEvent evt) {
                jPanelEquipaGerirFocusGained(evt);
            }
        });

        jListEquipaGerirListaEquipa.setModel(new javax.swing.AbstractListModel() {
            String[] strings = { "Fute FC", "Junioes das Taipas Secundaria", "Macedo de Caballeros SC" };
            public int getSize() { return strings.length; }
            public Object getElementAt(int i) { return strings[i]; }
        });
        jListEquipaGerirListaEquipa.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
        jScrollPane11.setViewportView(jListEquipaGerirListaEquipa);

        jLabel48.setText("Lista de Equipas");

        jButton13.setText("Alterar");

        jLabelEquipaGerirNome.setText("Nome");

        jLabelArbitroGerirDataN1.setText("Escalão");

        jLabelEquipaGerirTreinador.setText("Treinador");

        jComboBoxEquipaGerirTrein.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "----", "Bento", "Especial Um", "JuJu Ferreira", "Leo Jardim" }));

        jComboBoxEquipaGerirSexo.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Masculino", "Feminino" }));

        jLabelEquipaGerirSexo.setText("Sexo");

        jButtontEquipaGerirRemove.setText("Remover");
        jButtontEquipaGerirRemove.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButtontEquipaGerirRemoveActionPerformed(evt);
            }
        });

        jComboBoxEquipaGerirNac.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Juniores A - 17", "Infantis A - 12", "Infantis B - 10", "Benjamins - 8", "Traquinas - 6" }));

        jListEquipaGerirJogadores.setModel(new javax.swing.AbstractListModel() {
            String[] strings = { "Sabry", "John Pinto", "Leo Messias", "Crisnaldo Aveiro" };
            public int getSize() { return strings.length; }
            public Object getElementAt(int i) { return strings[i]; }
        });
        jListEquipaGerirJogadores.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
        jScrollPane16.setViewportView(jListEquipaGerirJogadores);

        jLabelEquipaGerirJogadores.setText("Jogadores na Equipa");

        jButtontEquipaGerirRemove1.setText("<");
        jButtontEquipaGerirRemove1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButtontEquipaGerirRemove1ActionPerformed(evt);
            }
        });

        jLabelEquipaGerirJog.setText("Jogadores");

        jComboBoxEquipaGerirJogs.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Rute Micael", "São Patrício", "Headerzito", "Hélder Postigolaço" }));

        jButtontEquipaGerirAdicionaJog.setText(">");
        jButtontEquipaGerirAdicionaJog.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButtontEquipaGerirAdicionaJogActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanelEquipaGerirLayout = new javax.swing.GroupLayout(jPanelEquipaGerir);
        jPanelEquipaGerir.setLayout(jPanelEquipaGerirLayout);
        jPanelEquipaGerirLayout.setHorizontalGroup(
            jPanelEquipaGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelEquipaGerirLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanelEquipaGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanelEquipaGerirLayout.createSequentialGroup()
                        .addComponent(jScrollPane11, javax.swing.GroupLayout.PREFERRED_SIZE, 113, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(18, 18, 18)
                        .addGroup(jPanelEquipaGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addGroup(jPanelEquipaGerirLayout.createSequentialGroup()
                                .addGroup(jPanelEquipaGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(jLabelArbitroGerirDataN1)
                                    .addComponent(jLabelEquipaGerirSexo)
                                    .addComponent(jLabelEquipaGerirTreinador)
                                    .addComponent(jLabelEquipaGerirNome, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addGroup(jPanelEquipaGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                    .addComponent(jComboBoxEquipaGerirSexo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(jTextFieldEquipaGerirNome)
                                    .addComponent(jComboBoxEquipaGerirTrein, javax.swing.GroupLayout.PREFERRED_SIZE, 105, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(jComboBoxEquipaGerirNac, javax.swing.GroupLayout.PREFERRED_SIZE, 105, javax.swing.GroupLayout.PREFERRED_SIZE)))
                            .addGroup(jPanelEquipaGerirLayout.createSequentialGroup()
                                .addComponent(jButton13)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(jButtontEquipaGerirRemove))
                            .addGroup(jPanelEquipaGerirLayout.createSequentialGroup()
                                .addComponent(jLabelEquipaGerirJog)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(jComboBoxEquipaGerirJogs, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jButtontEquipaGerirAdicionaJog)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jButtontEquipaGerirRemove1)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addGroup(jPanelEquipaGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabelEquipaGerirJogadores)
                            .addComponent(jScrollPane16, javax.swing.GroupLayout.PREFERRED_SIZE, 126, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGap(49, 49, 49))
                    .addGroup(jPanelEquipaGerirLayout.createSequentialGroup()
                        .addComponent(jLabel48)
                        .addGap(28, 28, 28))))
        );
        jPanelEquipaGerirLayout.setVerticalGroup(
            jPanelEquipaGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelEquipaGerirLayout.createSequentialGroup()
                .addGap(18, 18, 18)
                .addGroup(jPanelEquipaGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel48)
                    .addComponent(jLabelEquipaGerirJogadores))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanelEquipaGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanelEquipaGerirLayout.createSequentialGroup()
                        .addGroup(jPanelEquipaGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanelEquipaGerirLayout.createSequentialGroup()
                                .addGroup(jPanelEquipaGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                    .addComponent(jLabelEquipaGerirNome)
                                    .addComponent(jTextFieldEquipaGerirNome, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addGroup(jPanelEquipaGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                    .addComponent(jLabelArbitroGerirDataN1)
                                    .addComponent(jComboBoxEquipaGerirNac, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                .addGap(9, 9, 9)
                                .addGroup(jPanelEquipaGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                    .addComponent(jLabelEquipaGerirTreinador)
                                    .addComponent(jComboBoxEquipaGerirTrein, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                .addGap(7, 7, 7)
                                .addGroup(jPanelEquipaGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                    .addComponent(jComboBoxEquipaGerirSexo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(jLabelEquipaGerirSexo))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addGroup(jPanelEquipaGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                    .addComponent(jLabelEquipaGerirJog)
                                    .addComponent(jComboBoxEquipaGerirJogs, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(jButtontEquipaGerirAdicionaJog)
                                    .addComponent(jButtontEquipaGerirRemove1))
                                .addGap(0, 88, Short.MAX_VALUE))
                            .addComponent(jScrollPane16, javax.swing.GroupLayout.Alignment.TRAILING))
                        .addGap(18, 18, 18)
                        .addGroup(jPanelEquipaGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jButtontEquipaGerirRemove)
                            .addComponent(jButton13)))
                    .addComponent(jScrollPane11))
                .addGap(67, 67, 67))
        );

        jTabbedPaneEquipa.addTab("Gerir", jPanelEquipaGerir);

        javax.swing.GroupLayout jPanelEntidadesEquipaLayout = new javax.swing.GroupLayout(jPanelEntidadesEquipa);
        jPanelEntidadesEquipa.setLayout(jPanelEntidadesEquipaLayout);
        jPanelEntidadesEquipaLayout.setHorizontalGroup(
            jPanelEntidadesEquipaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelEntidadesEquipaLayout.createSequentialGroup()
                .addComponent(jTabbedPaneEquipa, javax.swing.GroupLayout.PREFERRED_SIZE, 562, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(0, 0, Short.MAX_VALUE))
        );
        jPanelEntidadesEquipaLayout.setVerticalGroup(
            jPanelEntidadesEquipaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jTabbedPaneEquipa)
        );

        jTabbedPaneEntidades.addTab("Equipa", jPanelEntidadesEquipa);

        jPanelEscolaCriar.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusGained(java.awt.event.FocusEvent evt) {
                jPanelEscolaCriar_FocusGained(evt);
            }
        });

        jButton14.setText("Criar");
        jButton14.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton14ActionPerformed(evt);
            }
        });

        jLabel51.setText("Nome");

        jLabel52.setText("Localidade");

        jLabel32.setText("Instalação");

        jComboBoxInstalacao_Escola.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" }));
        jComboBoxInstalacao_Escola.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jComboBoxInstalacao_EscolaActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanelEscolaCriarLayout = new javax.swing.GroupLayout(jPanelEscolaCriar);
        jPanelEscolaCriar.setLayout(jPanelEscolaCriarLayout);
        jPanelEscolaCriarLayout.setHorizontalGroup(
            jPanelEscolaCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelEscolaCriarLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanelEscolaCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(jButton14)
                    .addGroup(jPanelEscolaCriarLayout.createSequentialGroup()
                        .addGroup(jPanelEscolaCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabel52)
                            .addComponent(jLabel51, javax.swing.GroupLayout.PREFERRED_SIZE, 60, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(jPanelEscolaCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addComponent(jTextNome_Escola, javax.swing.GroupLayout.DEFAULT_SIZE, 165, Short.MAX_VALUE)
                            .addComponent(jTextFieldLocalidade_Escola)))
                    .addGroup(jPanelEscolaCriarLayout.createSequentialGroup()
                        .addComponent(jLabel32)
                        .addGap(17, 17, 17)
                        .addComponent(jComboBoxInstalacao_Escola, 0, 168, Short.MAX_VALUE)))
                .addContainerGap(286, Short.MAX_VALUE))
        );
        jPanelEscolaCriarLayout.setVerticalGroup(
            jPanelEscolaCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanelEscolaCriarLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanelEscolaCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel51)
                    .addComponent(jTextNome_Escola, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanelEscolaCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel52)
                    .addComponent(jTextFieldLocalidade_Escola, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(10, 10, 10)
                .addGroup(jPanelEscolaCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel32)
                    .addComponent(jComboBoxInstalacao_Escola, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jButton14)
                .addContainerGap(280, Short.MAX_VALUE))
        );

        jTabbedPaneEscola.addTab("Criar", jPanelEscolaCriar);

        jListEscolaGerirListaEscola.setModel(new javax.swing.AbstractListModel() {
            String[] strings = { "EB 2/3 de Murrenhanhe", "Vila Junqueiro", "Sra do Alívio", "Secundária Abelha Mayor" };
            public int getSize() { return strings.length; }
            public Object getElementAt(int i) { return strings[i]; }
        });
        jListEscolaGerirListaEscola.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
        jScrollPane12.setViewportView(jListEscolaGerirListaEscola);

        jLabel53.setText("Lista de Escolas");

        jButton15.setText("Alterar");

        jLabelEscolaGerirNome.setText("Nome");

        jLabelEscolaGerirInstalacao.setText("Instalacao");

        jComboBoxArbitroGerirNac4.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "----", "Alfredo Costa", "Murrenhanhe", "Famalicão PavGen", "Estádio Regional de Alvelos", "Regueifa Soares" }));

        jLabelJogadorGerirEquipa1.setText("Equipa");

        jComboBoxJogadoresGerirEquipa1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "---", "Fute FC", "Junioes das Taipas Secundaria", "Macedo de Caballeros SC" }));

        jLabelEscolaGerirNome1.setText("Localidade");

        jButtontEscolaGerirRemove.setText("Remover");
        jButtontEscolaGerirRemove.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButtontEscolaGerirRemoveActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanelEscolaGerirLayout = new javax.swing.GroupLayout(jPanelEscolaGerir);
        jPanelEscolaGerir.setLayout(jPanelEscolaGerirLayout);
        jPanelEscolaGerirLayout.setHorizontalGroup(
            jPanelEscolaGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelEscolaGerirLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanelEscolaGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jScrollPane12, javax.swing.GroupLayout.PREFERRED_SIZE, 113, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel53))
                .addGap(32, 32, 32)
                .addGroup(jPanelEscolaGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanelEscolaGerirLayout.createSequentialGroup()
                        .addGroup(jPanelEscolaGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addGroup(jPanelEscolaGerirLayout.createSequentialGroup()
                                .addGroup(jPanelEscolaGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(jLabelEscolaGerirInstalacao)
                                    .addComponent(jLabelEscolaGerirNome, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(jLabelJogadorGerirEquipa1))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addGroup(jPanelEscolaGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                    .addComponent(jTextFieldArbitroGerirNome2)
                                    .addComponent(jComboBoxArbitroGerirNac4, 0, 105, Short.MAX_VALUE)
                                    .addComponent(jComboBoxJogadoresGerirEquipa1, 0, 1, Short.MAX_VALUE)))
                            .addGroup(jPanelEscolaGerirLayout.createSequentialGroup()
                                .addComponent(jButton15)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addComponent(jButtontEscolaGerirRemove)))
                        .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                    .addGroup(jPanelEscolaGerirLayout.createSequentialGroup()
                        .addComponent(jLabelEscolaGerirNome1)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jTextFieldArbitroGerirNome3, javax.swing.GroupLayout.DEFAULT_SIZE, 75, Short.MAX_VALUE)
                        .addGap(236, 236, 236))))
        );
        jPanelEscolaGerirLayout.setVerticalGroup(
            jPanelEscolaGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelEscolaGerirLayout.createSequentialGroup()
                .addGap(18, 18, 18)
                .addComponent(jLabel53)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanelEscolaGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addGroup(jPanelEscolaGerirLayout.createSequentialGroup()
                        .addGap(202, 202, 202)
                        .addGroup(jPanelEscolaGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jButton15)
                            .addComponent(jButtontEscolaGerirRemove)))
                    .addGroup(jPanelEscolaGerirLayout.createSequentialGroup()
                        .addGroup(jPanelEscolaGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabelEscolaGerirNome)
                            .addComponent(jTextFieldArbitroGerirNome2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanelEscolaGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabelEscolaGerirNome1)
                            .addComponent(jTextFieldArbitroGerirNome3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGap(9, 9, 9)
                        .addGroup(jPanelEscolaGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabelJogadorGerirEquipa1)
                            .addComponent(jComboBoxJogadoresGerirEquipa1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(jPanelEscolaGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabelEscolaGerirInstalacao)
                            .addComponent(jComboBoxArbitroGerirNac4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addComponent(jScrollPane12))
                .addContainerGap(149, Short.MAX_VALUE))
        );

        jTabbedPaneEscola.addTab("Gerir", jPanelEscolaGerir);

        javax.swing.GroupLayout jPanelEntidadesEscolaLayout = new javax.swing.GroupLayout(jPanelEntidadesEscola);
        jPanelEntidadesEscola.setLayout(jPanelEntidadesEscolaLayout);
        jPanelEntidadesEscolaLayout.setHorizontalGroup(
            jPanelEntidadesEscolaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelEntidadesEscolaLayout.createSequentialGroup()
                .addComponent(jTabbedPaneEscola, javax.swing.GroupLayout.PREFERRED_SIZE, 562, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(0, 0, Short.MAX_VALUE))
        );
        jPanelEntidadesEscolaLayout.setVerticalGroup(
            jPanelEntidadesEscolaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jTabbedPaneEscola)
        );

        jTabbedPaneEntidades.addTab("Escola", jPanelEntidadesEscola);

        javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
        jPanel2.setLayout(jPanel2Layout);
        jPanel2Layout.setHorizontalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jTabbedPaneEntidades)
        );
        jPanel2Layout.setVerticalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jTabbedPaneEntidades)
        );

        jTabbedPane1.addTab("ENTIDADES", jPanel2);

        jButton16.setText("Criar");

        jLabel56.setText("Nome");

        jLabel57.setText("Idade Máxima");

        javax.swing.GroupLayout jPanelCampeonatoCriarLayout = new javax.swing.GroupLayout(jPanelCampeonatoCriar);
        jPanelCampeonatoCriar.setLayout(jPanelCampeonatoCriarLayout);
        jPanelCampeonatoCriarLayout.setHorizontalGroup(
            jPanelCampeonatoCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelCampeonatoCriarLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanelCampeonatoCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jButton16)
                    .addGroup(jPanelCampeonatoCriarLayout.createSequentialGroup()
                        .addComponent(jLabel56, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jTextField26, javax.swing.GroupLayout.PREFERRED_SIZE, 73, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(jPanelCampeonatoCriarLayout.createSequentialGroup()
                        .addComponent(jLabel57)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jTextField27, javax.swing.GroupLayout.PREFERRED_SIZE, 45, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(391, Short.MAX_VALUE))
        );
        jPanelCampeonatoCriarLayout.setVerticalGroup(
            jPanelCampeonatoCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanelCampeonatoCriarLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanelCampeonatoCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel56)
                    .addComponent(jTextField26, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addGroup(jPanelCampeonatoCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel57)
                    .addComponent(jTextField27, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(30, 30, 30)
                .addComponent(jButton16)
                .addContainerGap(281, Short.MAX_VALUE))
        );

        jTabbedPaneCampeonato.addTab("Criar", jPanelCampeonatoCriar);

        jListCampeonatoGerirListaCamp.setModel(new javax.swing.AbstractListModel() {
            String[] strings = { "Juniores A - Zona Norte", "Infantis A - Porto", "Infantis B - Madeira", "Benjamins A - Braga", "Traquinas A - Zona Centro" };
            public int getSize() { return strings.length; }
            public Object getElementAt(int i) { return strings[i]; }
        });
        jListCampeonatoGerirListaCamp.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
        jScrollPane13.setViewportView(jListCampeonatoGerirListaCamp);

        jLabel58.setText("Lista de Campeonatos");

        jLabelCampeonatoGerirNome.setText("Nome");

        jLabelCampeonatoGerirEpoca.setText("Época");

        jButton17.setText("Alterar");

        jButtonCampeonatoGerirRemover.setText("Remover");
        jButtonCampeonatoGerirRemover.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButtonCampeonatoGerirRemoverActionPerformed(evt);
            }
        });

        jLabelEquipaGerirJog1.setText("Equipas");

        jButtontCampeonatoGerirAdicionaEquipa.setText(" >");
        jButtontCampeonatoGerirAdicionaEquipa.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButtontCampeonatoGerirAdicionaEquipaActionPerformed(evt);
            }
        });

        jListEquipaGerirJogadores1.setModel(new javax.swing.AbstractListModel() {
            String[] strings = { "Fute FC", "Junioes das Taipas Secundaria", "Macedo de Caballeros SC" };
            public int getSize() { return strings.length; }
            public Object getElementAt(int i) { return strings[i]; }
        });
        jListEquipaGerirJogadores1.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
        jScrollPane17.setViewportView(jListEquipaGerirJogadores1);

        jButtontCampeonatoGerirRemoveEquipa.setText("<");
        jButtontCampeonatoGerirRemoveEquipa.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButtontCampeonatoGerirRemoveEquipaActionPerformed(evt);
            }
        });

        jLabelEquipaGerirJogadores1.setText("Equipas no Campeonato");

        jComboBoxCampeonatoGerirEquipa.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "---", "Esola Unida Abrantes" }));

        javax.swing.GroupLayout jPanelCampeonatoGerirLayout = new javax.swing.GroupLayout(jPanelCampeonatoGerir);
        jPanelCampeonatoGerir.setLayout(jPanelCampeonatoGerirLayout);
        jPanelCampeonatoGerirLayout.setHorizontalGroup(
            jPanelCampeonatoGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelCampeonatoGerirLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanelCampeonatoGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabel58)
                    .addGroup(jPanelCampeonatoGerirLayout.createSequentialGroup()
                        .addComponent(jScrollPane13, javax.swing.GroupLayout.PREFERRED_SIZE, 113, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGroup(jPanelCampeonatoGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanelCampeonatoGerirLayout.createSequentialGroup()
                                .addGap(30, 30, 30)
                                .addGroup(jPanelCampeonatoGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addGroup(jPanelCampeonatoGerirLayout.createSequentialGroup()
                                        .addComponent(jButton17)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                        .addComponent(jButtonCampeonatoGerirRemover))
                                    .addGroup(jPanelCampeonatoGerirLayout.createSequentialGroup()
                                        .addGroup(jPanelCampeonatoGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                            .addComponent(jLabelCampeonatoGerirNome)
                                            .addComponent(jLabelCampeonatoGerirEpoca))
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                        .addGroup(jPanelCampeonatoGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                            .addComponent(jTextFieldCampeonatoGerirEpoca)
                                            .addComponent(jTextFieldCampeonatoGerirNome, javax.swing.GroupLayout.PREFERRED_SIZE, 64, javax.swing.GroupLayout.PREFERRED_SIZE)))))
                            .addGroup(jPanelCampeonatoGerirLayout.createSequentialGroup()
                                .addGap(18, 18, 18)
                                .addComponent(jLabelEquipaGerirJog1)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addComponent(jComboBoxCampeonatoGerirEquipa, javax.swing.GroupLayout.PREFERRED_SIZE, 97, javax.swing.GroupLayout.PREFERRED_SIZE)))
                        .addGap(18, 18, 18)
                        .addComponent(jButtontCampeonatoGerirAdicionaEquipa)
                        .addGap(14, 14, 14)
                        .addComponent(jButtontCampeonatoGerirRemoveEquipa)))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addGroup(jPanelCampeonatoGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabelEquipaGerirJogadores1)
                    .addComponent(jScrollPane17, javax.swing.GroupLayout.PREFERRED_SIZE, 117, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap())
        );
        jPanelCampeonatoGerirLayout.setVerticalGroup(
            jPanelCampeonatoGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelCampeonatoGerirLayout.createSequentialGroup()
                .addGap(18, 18, 18)
                .addComponent(jLabel58)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanelCampeonatoGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addGroup(jPanelCampeonatoGerirLayout.createSequentialGroup()
                        .addGroup(jPanelCampeonatoGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jLabelCampeonatoGerirNome)
                            .addComponent(jTextFieldCampeonatoGerirNome, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanelCampeonatoGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabelCampeonatoGerirEpoca)
                            .addComponent(jTextFieldCampeonatoGerirEpoca, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(jPanelCampeonatoGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabelEquipaGerirJog1)
                            .addComponent(jButtontCampeonatoGerirAdicionaEquipa)
                            .addComponent(jComboBoxCampeonatoGerirEquipa, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jButtontCampeonatoGerirRemoveEquipa))
                        .addGap(59, 59, 59)
                        .addGroup(jPanelCampeonatoGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jButton17)
                            .addComponent(jButtonCampeonatoGerirRemover)))
                    .addComponent(jScrollPane13, javax.swing.GroupLayout.PREFERRED_SIZE, 162, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(189, Short.MAX_VALUE))
            .addGroup(jPanelCampeonatoGerirLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabelEquipaGerirJogadores1)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jScrollPane17)
                .addGap(52, 52, 52))
        );

        jTabbedPaneCampeonato.addTab("Gerir", jPanelCampeonatoGerir);

        javax.swing.GroupLayout jPanelComepeticoesCampeonatoLayout = new javax.swing.GroupLayout(jPanelComepeticoesCampeonato);
        jPanelComepeticoesCampeonato.setLayout(jPanelComepeticoesCampeonatoLayout);
        jPanelComepeticoesCampeonatoLayout.setHorizontalGroup(
            jPanelComepeticoesCampeonatoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelComepeticoesCampeonatoLayout.createSequentialGroup()
                .addComponent(jTabbedPaneCampeonato, javax.swing.GroupLayout.PREFERRED_SIZE, 562, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(0, 0, Short.MAX_VALUE))
        );
        jPanelComepeticoesCampeonatoLayout.setVerticalGroup(
            jPanelComepeticoesCampeonatoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jTabbedPaneCampeonato)
        );

        jTabbedPaneCompeticoes.addTab("Campeonato", jPanelComepeticoesCampeonato);

        jButton18.setText("Criar");

        jLabel61.setText("Nome");

        jLabel62.setText("Idade Máxima");

        javax.swing.GroupLayout jPanelTorneioCriarLayout = new javax.swing.GroupLayout(jPanelTorneioCriar);
        jPanelTorneioCriar.setLayout(jPanelTorneioCriarLayout);
        jPanelTorneioCriarLayout.setHorizontalGroup(
            jPanelTorneioCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelTorneioCriarLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanelTorneioCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jButton18)
                    .addGroup(jPanelTorneioCriarLayout.createSequentialGroup()
                        .addComponent(jLabel61, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jTextField30, javax.swing.GroupLayout.PREFERRED_SIZE, 73, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(jPanelTorneioCriarLayout.createSequentialGroup()
                        .addComponent(jLabel62)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jTextField31, javax.swing.GroupLayout.PREFERRED_SIZE, 45, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(391, Short.MAX_VALUE))
        );
        jPanelTorneioCriarLayout.setVerticalGroup(
            jPanelTorneioCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanelTorneioCriarLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanelTorneioCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel61)
                    .addComponent(jTextField30, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addGroup(jPanelTorneioCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel62)
                    .addComponent(jTextField31, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(30, 30, 30)
                .addComponent(jButton18)
                .addContainerGap(281, Short.MAX_VALUE))
        );

        jTabbedPaneCampeonato1.addTab("Criar", jPanelTorneioCriar);

        jList9.setModel(new javax.swing.AbstractListModel() {
            String[] strings = { "Juniores A - 17", "Infantis A - 12", "Infantis B - 10", "Benjamins - 8", "Traquinas - 6" };
            public int getSize() { return strings.length; }
            public Object getElementAt(int i) { return strings[i]; }
        });
        jList9.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
        jScrollPane14.setViewportView(jList9);

        jLabel63.setText("Lista de Escalões");

        jLabel64.setText("Nome");

        jLabel65.setText("Idade Máxima");

        jButton19.setText("Alterar");

        javax.swing.GroupLayout jPanelTorneioGerirLayout = new javax.swing.GroupLayout(jPanelTorneioGerir);
        jPanelTorneioGerir.setLayout(jPanelTorneioGerirLayout);
        jPanelTorneioGerirLayout.setHorizontalGroup(
            jPanelTorneioGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelTorneioGerirLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanelTorneioGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanelTorneioGerirLayout.createSequentialGroup()
                        .addComponent(jScrollPane14, javax.swing.GroupLayout.PREFERRED_SIZE, 113, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(30, 30, 30)
                        .addGroup(jPanelTorneioGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addGroup(jPanelTorneioGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                .addGroup(jPanelTorneioGerirLayout.createSequentialGroup()
                                    .addComponent(jLabel64)
                                    .addGap(18, 18, 18)
                                    .addComponent(jTextField32, javax.swing.GroupLayout.PREFERRED_SIZE, 64, javax.swing.GroupLayout.PREFERRED_SIZE))
                                .addGroup(jPanelTorneioGerirLayout.createSequentialGroup()
                                    .addComponent(jLabel65)
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                    .addComponent(jTextField33)))
                            .addGroup(jPanelTorneioGerirLayout.createSequentialGroup()
                                .addComponent(jButton19)
                                .addGap(42, 42, 42))))
                    .addComponent(jLabel63))
                .addContainerGap(264, Short.MAX_VALUE))
        );
        jPanelTorneioGerirLayout.setVerticalGroup(
            jPanelTorneioGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelTorneioGerirLayout.createSequentialGroup()
                .addGroup(jPanelTorneioGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanelTorneioGerirLayout.createSequentialGroup()
                        .addGap(18, 18, 18)
                        .addComponent(jLabel63)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jScrollPane14, javax.swing.GroupLayout.PREFERRED_SIZE, 162, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(jPanelTorneioGerirLayout.createSequentialGroup()
                        .addGap(32, 32, 32)
                        .addGroup(jPanelTorneioGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jLabel64)
                            .addComponent(jTextField32, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanelTorneioGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabel65)
                            .addComponent(jTextField33, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jButton19)))
                .addContainerGap(218, Short.MAX_VALUE))
        );

        jTabbedPaneCampeonato1.addTab("Gerir", jPanelTorneioGerir);

        javax.swing.GroupLayout jPanelComepeticoesTorneioLayout = new javax.swing.GroupLayout(jPanelComepeticoesTorneio);
        jPanelComepeticoesTorneio.setLayout(jPanelComepeticoesTorneioLayout);
        jPanelComepeticoesTorneioLayout.setHorizontalGroup(
            jPanelComepeticoesTorneioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelComepeticoesTorneioLayout.createSequentialGroup()
                .addComponent(jTabbedPaneCampeonato1, javax.swing.GroupLayout.PREFERRED_SIZE, 562, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(0, 0, Short.MAX_VALUE))
        );
        jPanelComepeticoesTorneioLayout.setVerticalGroup(
            jPanelComepeticoesTorneioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jTabbedPaneCampeonato1)
        );

        jTabbedPaneCompeticoes.addTab("Torneio", jPanelComepeticoesTorneio);

        jButton20.setText("Criar");

        jLabel66.setText("Nome");

        jLabel67.setText("Idade Máxima");

        javax.swing.GroupLayout jPanelCampeonatoTorneioCriarLayout = new javax.swing.GroupLayout(jPanelCampeonatoTorneioCriar);
        jPanelCampeonatoTorneioCriar.setLayout(jPanelCampeonatoTorneioCriarLayout);
        jPanelCampeonatoTorneioCriarLayout.setHorizontalGroup(
            jPanelCampeonatoTorneioCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelCampeonatoTorneioCriarLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanelCampeonatoTorneioCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jButton20)
                    .addGroup(jPanelCampeonatoTorneioCriarLayout.createSequentialGroup()
                        .addComponent(jLabel66, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jTextField34, javax.swing.GroupLayout.PREFERRED_SIZE, 73, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(jPanelCampeonatoTorneioCriarLayout.createSequentialGroup()
                        .addComponent(jLabel67)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jTextField35, javax.swing.GroupLayout.PREFERRED_SIZE, 45, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(391, Short.MAX_VALUE))
        );
        jPanelCampeonatoTorneioCriarLayout.setVerticalGroup(
            jPanelCampeonatoTorneioCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanelCampeonatoTorneioCriarLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanelCampeonatoTorneioCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel66)
                    .addComponent(jTextField34, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addGroup(jPanelCampeonatoTorneioCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel67)
                    .addComponent(jTextField35, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(30, 30, 30)
                .addComponent(jButton20)
                .addContainerGap(281, Short.MAX_VALUE))
        );

        jTabbedPaneCampeonatoTorneio.addTab("Criar", jPanelCampeonatoTorneioCriar);

        jList10.setModel(new javax.swing.AbstractListModel() {
            String[] strings = { "Juniores A - 17", "Infantis A - 12", "Infantis B - 10", "Benjamins - 8", "Traquinas - 6" };
            public int getSize() { return strings.length; }
            public Object getElementAt(int i) { return strings[i]; }
        });
        jList10.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
        jScrollPane15.setViewportView(jList10);

        jLabel68.setText("Lista de Escalões");

        jLabel69.setText("Nome");

        jLabel70.setText("Idade Máxima");

        jButton21.setText("Alterar");

        javax.swing.GroupLayout jPanelCampeonatoTorneioGerirLayout = new javax.swing.GroupLayout(jPanelCampeonatoTorneioGerir);
        jPanelCampeonatoTorneioGerir.setLayout(jPanelCampeonatoTorneioGerirLayout);
        jPanelCampeonatoTorneioGerirLayout.setHorizontalGroup(
            jPanelCampeonatoTorneioGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelCampeonatoTorneioGerirLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanelCampeonatoTorneioGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanelCampeonatoTorneioGerirLayout.createSequentialGroup()
                        .addComponent(jScrollPane15, javax.swing.GroupLayout.PREFERRED_SIZE, 113, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(30, 30, 30)
                        .addGroup(jPanelCampeonatoTorneioGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addGroup(jPanelCampeonatoTorneioGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                .addGroup(jPanelCampeonatoTorneioGerirLayout.createSequentialGroup()
                                    .addComponent(jLabel69)
                                    .addGap(18, 18, 18)
                                    .addComponent(jTextField36, javax.swing.GroupLayout.PREFERRED_SIZE, 64, javax.swing.GroupLayout.PREFERRED_SIZE))
                                .addGroup(jPanelCampeonatoTorneioGerirLayout.createSequentialGroup()
                                    .addComponent(jLabel70)
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                    .addComponent(jTextField37)))
                            .addGroup(jPanelCampeonatoTorneioGerirLayout.createSequentialGroup()
                                .addComponent(jButton21)
                                .addGap(42, 42, 42))))
                    .addComponent(jLabel68))
                .addContainerGap(264, Short.MAX_VALUE))
        );
        jPanelCampeonatoTorneioGerirLayout.setVerticalGroup(
            jPanelCampeonatoTorneioGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelCampeonatoTorneioGerirLayout.createSequentialGroup()
                .addGroup(jPanelCampeonatoTorneioGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanelCampeonatoTorneioGerirLayout.createSequentialGroup()
                        .addGap(18, 18, 18)
                        .addComponent(jLabel68)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jScrollPane15, javax.swing.GroupLayout.PREFERRED_SIZE, 162, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(jPanelCampeonatoTorneioGerirLayout.createSequentialGroup()
                        .addGap(32, 32, 32)
                        .addGroup(jPanelCampeonatoTorneioGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jLabel69)
                            .addComponent(jTextField36, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanelCampeonatoTorneioGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabel70)
                            .addComponent(jTextField37, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jButton21)))
                .addContainerGap(218, Short.MAX_VALUE))
        );

        jTabbedPaneCampeonatoTorneio.addTab("Gerir", jPanelCampeonatoTorneioGerir);

        javax.swing.GroupLayout jPanelComepeticoesCampTorneioLayout = new javax.swing.GroupLayout(jPanelComepeticoesCampTorneio);
        jPanelComepeticoesCampTorneio.setLayout(jPanelComepeticoesCampTorneioLayout);
        jPanelComepeticoesCampTorneioLayout.setHorizontalGroup(
            jPanelComepeticoesCampTorneioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelComepeticoesCampTorneioLayout.createSequentialGroup()
                .addComponent(jTabbedPaneCampeonatoTorneio, javax.swing.GroupLayout.PREFERRED_SIZE, 562, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(0, 0, Short.MAX_VALUE))
        );
        jPanelComepeticoesCampTorneioLayout.setVerticalGroup(
            jPanelComepeticoesCampTorneioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jTabbedPaneCampeonatoTorneio)
        );

        jTabbedPaneCompeticoes.addTab("Campeonato + Torneio", jPanelComepeticoesCampTorneio);

        javax.swing.GroupLayout jPanel3Layout = new javax.swing.GroupLayout(jPanel3);
        jPanel3.setLayout(jPanel3Layout);
        jPanel3Layout.setHorizontalGroup(
            jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jTabbedPaneCompeticoes)
        );
        jPanel3Layout.setVerticalGroup(
            jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jTabbedPaneCompeticoes)
        );

        jTabbedPane1.addTab("Competições", jPanel3);

        javax.swing.GroupLayout jPanelRelatoriosSubmeterLayout = new javax.swing.GroupLayout(jPanelRelatoriosSubmeter);
        jPanelRelatoriosSubmeter.setLayout(jPanelRelatoriosSubmeterLayout);
        jPanelRelatoriosSubmeterLayout.setHorizontalGroup(
            jPanelRelatoriosSubmeterLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 561, Short.MAX_VALUE)
        );
        jPanelRelatoriosSubmeterLayout.setVerticalGroup(
            jPanelRelatoriosSubmeterLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 466, Short.MAX_VALUE)
        );

        jTabbedPaneRelatorios.addTab("Submeter", jPanelRelatoriosSubmeter);

        javax.swing.GroupLayout jPanelRelatoriosConsultarLayout = new javax.swing.GroupLayout(jPanelRelatoriosConsultar);
        jPanelRelatoriosConsultar.setLayout(jPanelRelatoriosConsultarLayout);
        jPanelRelatoriosConsultarLayout.setHorizontalGroup(
            jPanelRelatoriosConsultarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 561, Short.MAX_VALUE)
        );
        jPanelRelatoriosConsultarLayout.setVerticalGroup(
            jPanelRelatoriosConsultarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 466, Short.MAX_VALUE)
        );

        jTabbedPaneRelatorios.addTab("Consultar", jPanelRelatoriosConsultar);

        javax.swing.GroupLayout jPanel4Layout = new javax.swing.GroupLayout(jPanel4);
        jPanel4.setLayout(jPanel4Layout);
        jPanel4Layout.setHorizontalGroup(
            jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jTabbedPaneRelatorios)
        );
        jPanel4Layout.setVerticalGroup(
            jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jTabbedPaneRelatorios)
        );

        jTabbedPane1.addTab("Relatórios", jPanel4);

        jTable1.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null}
            },
            new String [] {
                "Equipa", "Amarelos", "Vermelhos", "Soma"
            }
        ) {
            Class[] types = new Class [] {
                java.lang.String.class, java.lang.Integer.class, java.lang.Integer.class, java.lang.Integer.class
            };

            public Class getColumnClass(int columnIndex) {
                return types [columnIndex];
            }
        });
        jScrollPane1.setViewportView(jTable1);

        jLabel4.setText("Mais Cartões por Equipa");

        jTable2.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null}
            },
            new String [] {
                "Equipa", "Amarelos", "Vermelhos", "Soma"
            }
        ) {
            Class[] types = new Class [] {
                java.lang.String.class, java.lang.Integer.class, java.lang.Integer.class, java.lang.Integer.class
            };

            public Class getColumnClass(int columnIndex) {
                return types [columnIndex];
            }
        });
        jScrollPane2.setViewportView(jTable2);

        jLabel5.setText("Mais Cartões por Equipa por Competição");

        jComboBox1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Infantis A - Zona Norte", "Benjamis B - Zona Sul" }));

        javax.swing.GroupLayout jPanelEstatisticasMaisCartoesLayout = new javax.swing.GroupLayout(jPanelEstatisticasMaisCartoes);
        jPanelEstatisticasMaisCartoes.setLayout(jPanelEstatisticasMaisCartoesLayout);
        jPanelEstatisticasMaisCartoesLayout.setHorizontalGroup(
            jPanelEstatisticasMaisCartoesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelEstatisticasMaisCartoesLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanelEstatisticasMaisCartoesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 179, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel4))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jPanelEstatisticasMaisCartoesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(jLabel5, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jComboBox1, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE))
                .addContainerGap(108, Short.MAX_VALUE))
        );
        jPanelEstatisticasMaisCartoesLayout.setVerticalGroup(
            jPanelEstatisticasMaisCartoesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelEstatisticasMaisCartoesLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanelEstatisticasMaisCartoesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabel4, javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jLabel5))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanelEstatisticasMaisCartoesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanelEstatisticasMaisCartoesLayout.createSequentialGroup()
                        .addComponent(jComboBox1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 197, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 220, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(208, Short.MAX_VALUE))
        );

        jTabbedPaneEstatisticas.addTab("Mais Cartões", jPanelEstatisticasMaisCartoes);

        jLabel6.setText("Mais Golos Marcados por Equipa");

        jTable3.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null},
                {null, null, null},
                {null, null, null},
                {null, null, null}
            },
            new String [] {
                "Equipa", "Marcados", "Sofridos"
            }
        ) {
            Class[] types = new Class [] {
                java.lang.String.class, java.lang.Integer.class, java.lang.Integer.class
            };

            public Class getColumnClass(int columnIndex) {
                return types [columnIndex];
            }
        });
        jScrollPane3.setViewportView(jTable3);

        jTable4.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null},
                {null, null, null},
                {null, null, null},
                {null, null, null}
            },
            new String [] {
                "Equipa", "Marcados", "Sofridos"
            }
        ) {
            Class[] types = new Class [] {
                java.lang.String.class, java.lang.Integer.class, java.lang.Integer.class
            };

            public Class getColumnClass(int columnIndex) {
                return types [columnIndex];
            }
        });
        jScrollPane4.setViewportView(jTable4);

        jLabel7.setText("Mais Golos Marcados por Equipa por Competição");

        jComboBox2.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Infantis A - Zona Norte", "Benjamis B - Zona Sul" }));

        javax.swing.GroupLayout jPanelEstatisticasMaisGolosLayout = new javax.swing.GroupLayout(jPanelEstatisticasMaisGolos);
        jPanelEstatisticasMaisGolos.setLayout(jPanelEstatisticasMaisGolosLayout);
        jPanelEstatisticasMaisGolosLayout.setHorizontalGroup(
            jPanelEstatisticasMaisGolosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelEstatisticasMaisGolosLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanelEstatisticasMaisGolosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jScrollPane3, javax.swing.GroupLayout.PREFERRED_SIZE, 179, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel6))
                .addGap(18, 18, 18)
                .addGroup(jPanelEstatisticasMaisGolosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanelEstatisticasMaisGolosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                        .addComponent(jComboBox2, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(jScrollPane4, javax.swing.GroupLayout.PREFERRED_SIZE, 194, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addComponent(jLabel7))
                .addContainerGap(25, Short.MAX_VALUE))
        );
        jPanelEstatisticasMaisGolosLayout.setVerticalGroup(
            jPanelEstatisticasMaisGolosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelEstatisticasMaisGolosLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanelEstatisticasMaisGolosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabel6, javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jLabel7))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanelEstatisticasMaisGolosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanelEstatisticasMaisGolosLayout.createSequentialGroup()
                        .addComponent(jComboBox2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jScrollPane4, javax.swing.GroupLayout.PREFERRED_SIZE, 197, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addComponent(jScrollPane3, javax.swing.GroupLayout.PREFERRED_SIZE, 220, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(208, Short.MAX_VALUE))
        );

        jTabbedPaneEstatisticas.addTab("Mais Golos", jPanelEstatisticasMaisGolos);

        javax.swing.GroupLayout jPanel5Layout = new javax.swing.GroupLayout(jPanel5);
        jPanel5.setLayout(jPanel5Layout);
        jPanel5Layout.setHorizontalGroup(
            jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jTabbedPaneEstatisticas)
        );
        jPanel5Layout.setVerticalGroup(
            jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jTabbedPaneEstatisticas)
        );

        jTabbedPane1.addTab("Estatísticas", jPanel5);

        jButton4.setText("Criar");

        jLabel12.setText("Nome");

        jLabel13.setText("Idade Máxima");

        javax.swing.GroupLayout jPanel24Layout = new javax.swing.GroupLayout(jPanel24);
        jPanel24.setLayout(jPanel24Layout);
        jPanel24Layout.setHorizontalGroup(
            jPanel24Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel24Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel24Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jButton4)
                    .addGroup(jPanel24Layout.createSequentialGroup()
                        .addComponent(jLabel12, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jTextField3, javax.swing.GroupLayout.PREFERRED_SIZE, 73, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(jPanel24Layout.createSequentialGroup()
                        .addComponent(jLabel13)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jTextField4, javax.swing.GroupLayout.PREFERRED_SIZE, 45, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(391, Short.MAX_VALUE))
        );
        jPanel24Layout.setVerticalGroup(
            jPanel24Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel24Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel24Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel12)
                    .addComponent(jTextField3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addGroup(jPanel24Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel13)
                    .addComponent(jTextField4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(30, 30, 30)
                .addComponent(jButton4)
                .addContainerGap(281, Short.MAX_VALUE))
        );

        jTabbedPaneEscaloes.addTab("Criar", jPanel24);

        jList1.setModel(new javax.swing.AbstractListModel() {
            String[] strings = { "Juniores A - 17", "Infantis A - 12", "Infantis B - 10", "Benjamins - 8", "Traquinas - 6" };
            public int getSize() { return strings.length; }
            public Object getElementAt(int i) { return strings[i]; }
        });
        jList1.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
        jScrollPane5.setViewportView(jList1);

        jLabel14.setText("Lista de Escalões");

        jLabel15.setText("Nome");

        jLabel16.setText("Idade Máxima");

        jButton7.setText("Alterar");

        javax.swing.GroupLayout jPanel25Layout = new javax.swing.GroupLayout(jPanel25);
        jPanel25.setLayout(jPanel25Layout);
        jPanel25Layout.setHorizontalGroup(
            jPanel25Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel25Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel25Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel25Layout.createSequentialGroup()
                        .addComponent(jScrollPane5, javax.swing.GroupLayout.PREFERRED_SIZE, 113, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(30, 30, 30)
                        .addGroup(jPanel25Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addGroup(jPanel25Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                .addGroup(jPanel25Layout.createSequentialGroup()
                                    .addComponent(jLabel15)
                                    .addGap(18, 18, 18)
                                    .addComponent(jTextField5, javax.swing.GroupLayout.PREFERRED_SIZE, 64, javax.swing.GroupLayout.PREFERRED_SIZE))
                                .addGroup(jPanel25Layout.createSequentialGroup()
                                    .addComponent(jLabel16)
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                    .addComponent(jTextField6)))
                            .addGroup(jPanel25Layout.createSequentialGroup()
                                .addComponent(jButton7)
                                .addGap(42, 42, 42))))
                    .addComponent(jLabel14))
                .addContainerGap(264, Short.MAX_VALUE))
        );
        jPanel25Layout.setVerticalGroup(
            jPanel25Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel25Layout.createSequentialGroup()
                .addGroup(jPanel25Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel25Layout.createSequentialGroup()
                        .addGap(18, 18, 18)
                        .addComponent(jLabel14)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jScrollPane5, javax.swing.GroupLayout.PREFERRED_SIZE, 162, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(jPanel25Layout.createSequentialGroup()
                        .addGap(32, 32, 32)
                        .addGroup(jPanel25Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jLabel15)
                            .addComponent(jTextField5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanel25Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabel16)
                            .addComponent(jTextField6, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jButton7)))
                .addContainerGap(218, Short.MAX_VALUE))
        );

        jTabbedPaneEscaloes.addTab("Gerir", jPanel25);

        javax.swing.GroupLayout jPanel19Layout = new javax.swing.GroupLayout(jPanel19);
        jPanel19.setLayout(jPanel19Layout);
        jPanel19Layout.setHorizontalGroup(
            jPanel19Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel19Layout.createSequentialGroup()
                .addComponent(jTabbedPaneEscaloes, javax.swing.GroupLayout.PREFERRED_SIZE, 562, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(0, 0, Short.MAX_VALUE))
        );
        jPanel19Layout.setVerticalGroup(
            jPanel19Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jTabbedPaneEscaloes)
        );

        jTabbedPane7.addTab("Escalões", jPanel19);

        jButton5.setText("Criar");

        jLabel17.setText("Nome");

        jLabel18.setText("Capacidade");

        javax.swing.GroupLayout jPanel26Layout = new javax.swing.GroupLayout(jPanel26);
        jPanel26.setLayout(jPanel26Layout);
        jPanel26Layout.setHorizontalGroup(
            jPanel26Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel26Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel26Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jButton5)
                    .addGroup(jPanel26Layout.createSequentialGroup()
                        .addComponent(jLabel17, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jTextField7, javax.swing.GroupLayout.PREFERRED_SIZE, 73, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(jPanel26Layout.createSequentialGroup()
                        .addComponent(jLabel18)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jTextField8, javax.swing.GroupLayout.PREFERRED_SIZE, 45, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(405, Short.MAX_VALUE))
        );
        jPanel26Layout.setVerticalGroup(
            jPanel26Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel26Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel26Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel17)
                    .addComponent(jTextField7, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addGroup(jPanel26Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel18)
                    .addComponent(jTextField8, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(30, 30, 30)
                .addComponent(jButton5)
                .addContainerGap(281, Short.MAX_VALUE))
        );

        jTabbedPaneInstalacoes.addTab("Criar", jPanel26);

        jList2.setModel(new javax.swing.AbstractListModel() {
            String[] strings = { "Alfredo Costa - 50", "Murrenhanhe - 10", "FamalicãoPav2000 - 100", "Estádio Regional de Alvelos - 200", "Regueifa Soares - 100" };
            public int getSize() { return strings.length; }
            public Object getElementAt(int i) { return strings[i]; }
        });
        jList2.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
        jScrollPane6.setViewportView(jList2);

        jLabel19.setText("Lista de Instalações");

        jLabel20.setText("Nome");

        jLabel21.setText("Capacidade");

        jLabel22.setText("Escola");

        jComboBox4.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "-----", "EB 2/3 Fujacal", "C+S de Sintra", "EB 2 Portela das Cabras", "Agrupamento Aniceto Rui" }));

        jButton6.setText("Alterar");

        javax.swing.GroupLayout jPanel27Layout = new javax.swing.GroupLayout(jPanel27);
        jPanel27.setLayout(jPanel27Layout);
        jPanel27Layout.setHorizontalGroup(
            jPanel27Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel27Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel27Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel27Layout.createSequentialGroup()
                        .addComponent(jScrollPane6, javax.swing.GroupLayout.PREFERRED_SIZE, 113, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGroup(jPanel27Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addGroup(jPanel27Layout.createSequentialGroup()
                                .addGap(37, 37, 37)
                                .addComponent(jLabel21)
                                .addGap(18, 18, 18)
                                .addComponent(jTextField10))
                            .addGroup(jPanel27Layout.createSequentialGroup()
                                .addGap(36, 36, 36)
                                .addGroup(jPanel27Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(jButton6)
                                    .addGroup(jPanel27Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                        .addGroup(jPanel27Layout.createSequentialGroup()
                                            .addComponent(jLabel22)
                                            .addGap(30, 30, 30)
                                            .addComponent(jComboBox4, javax.swing.GroupLayout.PREFERRED_SIZE, 109, javax.swing.GroupLayout.PREFERRED_SIZE))
                                        .addGroup(jPanel27Layout.createSequentialGroup()
                                            .addComponent(jLabel20)
                                            .addGap(33, 33, 33)
                                            .addComponent(jTextField9, javax.swing.GroupLayout.PREFERRED_SIZE, 109, javax.swing.GroupLayout.PREFERRED_SIZE)))))))
                    .addComponent(jLabel19))
                .addContainerGap(206, Short.MAX_VALUE))
        );
        jPanel27Layout.setVerticalGroup(
            jPanel27Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel27Layout.createSequentialGroup()
                .addGroup(jPanel27Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel27Layout.createSequentialGroup()
                        .addGap(18, 18, 18)
                        .addComponent(jLabel19)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jScrollPane6, javax.swing.GroupLayout.PREFERRED_SIZE, 162, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(jPanel27Layout.createSequentialGroup()
                        .addGap(35, 35, 35)
                        .addGroup(jPanel27Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabel20)
                            .addComponent(jTextField9, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanel27Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabel21)
                            .addComponent(jTextField10, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanel27Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabel22)
                            .addComponent(jComboBox4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jButton6)))
                .addContainerGap(218, Short.MAX_VALUE))
        );

        jTabbedPaneInstalacoes.addTab("Gerir", jPanel27);

        javax.swing.GroupLayout jPanel20Layout = new javax.swing.GroupLayout(jPanel20);
        jPanel20.setLayout(jPanel20Layout);
        jPanel20Layout.setHorizontalGroup(
            jPanel20Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jTabbedPaneInstalacoes)
        );
        jPanel20Layout.setVerticalGroup(
            jPanel20Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jTabbedPaneInstalacoes)
        );

        jTabbedPane7.addTab("Instalações", jPanel20);

        buttonGroup1.add(jRadioButton1);
        jRadioButton1.setText("Árbitro");
        jRadioButton1.addItemListener(new java.awt.event.ItemListener() {
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
                jRadioButton1ItemStateChanged(evt);
            }
        });
        jRadioButton1.addPropertyChangeListener(new java.beans.PropertyChangeListener() {
            public void propertyChange(java.beans.PropertyChangeEvent evt) {
                jRadioButton1PropertyChange(evt);
            }
        });

        buttonGroup1.add(jRadioButton2);
        jRadioButton2.setText("Administrador");

        jLabel8.setText("Tipo");

        jLabel9.setText("Nome");

        jLabel10.setText("Password");

        jButton3.setText("Criar");

        jComboBox3.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Xistra", "Benquerença", "Gomes", "Costinha" }));

        jLabel11.setText("Árbitro");

        jCheckBox1.setText("jCheckBox1");
        jCheckBox1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jCheckBox1ActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanelUtilizadorCriarLayout = new javax.swing.GroupLayout(jPanelUtilizadorCriar);
        jPanelUtilizadorCriar.setLayout(jPanelUtilizadorCriarLayout);
        jPanelUtilizadorCriarLayout.setHorizontalGroup(
            jPanelUtilizadorCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelUtilizadorCriarLayout.createSequentialGroup()
                .addGroup(jPanelUtilizadorCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanelUtilizadorCriarLayout.createSequentialGroup()
                        .addContainerGap()
                        .addGroup(jPanelUtilizadorCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanelUtilizadorCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                .addComponent(jLabel8)
                                .addGroup(jPanelUtilizadorCriarLayout.createSequentialGroup()
                                    .addComponent(jRadioButton1)
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                    .addComponent(jRadioButton2))
                                .addGroup(jPanelUtilizadorCriarLayout.createSequentialGroup()
                                    .addComponent(jLabel9)
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                    .addComponent(jTextField2))
                                .addGroup(jPanelUtilizadorCriarLayout.createSequentialGroup()
                                    .addGroup(jPanelUtilizadorCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                        .addComponent(jLabel10)
                                        .addComponent(jLabel11))
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                    .addGroup(jPanelUtilizadorCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                        .addComponent(jComboBox3, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                        .addComponent(jPasswordField2))))
                            .addComponent(jButton3)))
                    .addGroup(jPanelUtilizadorCriarLayout.createSequentialGroup()
                        .addGap(41, 41, 41)
                        .addComponent(jCheckBox1)))
                .addContainerGap(330, Short.MAX_VALUE))
        );
        jPanelUtilizadorCriarLayout.setVerticalGroup(
            jPanelUtilizadorCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelUtilizadorCriarLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanelUtilizadorCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel9)
                    .addComponent(jTextField2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel8)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanelUtilizadorCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jRadioButton1)
                    .addComponent(jRadioButton2))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jPanelUtilizadorCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel10)
                    .addComponent(jPasswordField2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jCheckBox1)
                .addGap(5, 5, 5)
                .addGroup(jPanelUtilizadorCriarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jComboBox3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel11))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jButton3)
                .addContainerGap(199, Short.MAX_VALUE))
        );

        jTabbedPaneUtilizadores.addTab("Criar", jPanelUtilizadorCriar);

        jLabel23.setText("Lista de Utilizadores");

        jList3.setModel(new javax.swing.AbstractListModel() {
            String[] strings = { "Prof_KIKO", "CarlaBOMBASTICA", "JoaoMiguel100", "XistraRef" };
            public int getSize() { return strings.length; }
            public Object getElementAt(int i) { return strings[i]; }
        });
        jList3.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
        jScrollPane7.setViewportView(jList3);

        jLabel24.setText("Nome");

        jLabel25.setText("Password");

        jButton8.setText("Alterar");

        jLabel27.setText("Tipo");

        buttonGroup2.add(jRadioButton3);
        jRadioButton3.setText("Árbitro");
        jRadioButton3.addItemListener(new java.awt.event.ItemListener() {
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
                jRadioButton3ItemStateChanged(evt);
            }
        });
        jRadioButton3.addPropertyChangeListener(new java.beans.PropertyChangeListener() {
            public void propertyChange(java.beans.PropertyChangeEvent evt) {
                jRadioButton3PropertyChange(evt);
            }
        });

        buttonGroup2.add(jRadioButton4);
        jRadioButton4.setText("Administrador");

        javax.swing.GroupLayout jPanelUtilizadorGerirLayout = new javax.swing.GroupLayout(jPanelUtilizadorGerir);
        jPanelUtilizadorGerir.setLayout(jPanelUtilizadorGerirLayout);
        jPanelUtilizadorGerirLayout.setHorizontalGroup(
            jPanelUtilizadorGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelUtilizadorGerirLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanelUtilizadorGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanelUtilizadorGerirLayout.createSequentialGroup()
                        .addComponent(jScrollPane7, javax.swing.GroupLayout.PREFERRED_SIZE, 113, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGroup(jPanelUtilizadorGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addGroup(jPanelUtilizadorGerirLayout.createSequentialGroup()
                                .addGap(37, 37, 37)
                                .addComponent(jLabel25)
                                .addGap(18, 18, 18)
                                .addComponent(jTextField12))
                            .addGroup(jPanelUtilizadorGerirLayout.createSequentialGroup()
                                .addGap(36, 36, 36)
                                .addGroup(jPanelUtilizadorGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(jButton8)
                                    .addGroup(jPanelUtilizadorGerirLayout.createSequentialGroup()
                                        .addComponent(jLabel24)
                                        .addGap(33, 33, 33)
                                        .addComponent(jTextField11, javax.swing.GroupLayout.PREFERRED_SIZE, 109, javax.swing.GroupLayout.PREFERRED_SIZE))
                                    .addComponent(jLabel27)
                                    .addGroup(jPanelUtilizadorGerirLayout.createSequentialGroup()
                                        .addComponent(jRadioButton3)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                        .addComponent(jRadioButton4))))))
                    .addComponent(jLabel23))
                .addContainerGap(181, Short.MAX_VALUE))
        );
        jPanelUtilizadorGerirLayout.setVerticalGroup(
            jPanelUtilizadorGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelUtilizadorGerirLayout.createSequentialGroup()
                .addGroup(jPanelUtilizadorGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanelUtilizadorGerirLayout.createSequentialGroup()
                        .addGap(18, 18, 18)
                        .addComponent(jLabel23)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jScrollPane7, javax.swing.GroupLayout.PREFERRED_SIZE, 162, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(jPanelUtilizadorGerirLayout.createSequentialGroup()
                        .addGap(35, 35, 35)
                        .addGroup(jPanelUtilizadorGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabel24)
                            .addComponent(jTextField11, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanelUtilizadorGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabel25)
                            .addComponent(jTextField12, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jLabel27)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanelUtilizadorGerirLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jRadioButton3)
                            .addComponent(jRadioButton4))
                        .addGap(13, 13, 13)
                        .addComponent(jButton8)))
                .addContainerGap(218, Short.MAX_VALUE))
        );

        jTabbedPaneUtilizadores.addTab("Gerir", jPanelUtilizadorGerir);

        javax.swing.GroupLayout jPanel21Layout = new javax.swing.GroupLayout(jPanel21);
        jPanel21.setLayout(jPanel21Layout);
        jPanel21Layout.setHorizontalGroup(
            jPanel21Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jTabbedPaneUtilizadores)
        );
        jPanel21Layout.setVerticalGroup(
            jPanel21Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jTabbedPaneUtilizadores)
        );

        jTabbedPane7.addTab("Utilizadores", jPanel21);

        javax.swing.GroupLayout jPanel6Layout = new javax.swing.GroupLayout(jPanel6);
        jPanel6.setLayout(jPanel6Layout);
        jPanel6Layout.setHorizontalGroup(
            jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel6Layout.createSequentialGroup()
                .addComponent(jTabbedPane7, javax.swing.GroupLayout.PREFERRED_SIZE, 582, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(0, 0, Short.MAX_VALUE))
        );
        jPanel6Layout.setVerticalGroup(
            jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jTabbedPane7)
        );

        jTabbedPane1.addTab("Gestão", jPanel6);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGap(26, 26, 26)
                .addComponent(jLabel26)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 241, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 162, Short.MAX_VALUE)
                .addComponent(jLabel2)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jTextFieldLoginUsername, javax.swing.GroupLayout.PREFERRED_SIZE, 55, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel3)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jPasswordFieldLoginPass, javax.swing.GroupLayout.PREFERRED_SIZE, 74, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jButtonLOGIN)
                .addContainerGap())
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jTabbedPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 603, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jLabel2)
                        .addComponent(jTextFieldLoginUsername, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jLabel3)
                        .addComponent(jPasswordFieldLoginPass, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jButtonLOGIN))
                    .addComponent(jLabel26)
                    .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 41, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jTabbedPane1)
                .addGap(37, 37, 37))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void jRadioButton3PropertyChange(java.beans.PropertyChangeEvent evt) {//GEN-FIRST:event_jRadioButton3PropertyChange
    }//GEN-LAST:event_jRadioButton3PropertyChange

    private void jRadioButton3ItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_jRadioButton3ItemStateChanged
    }//GEN-LAST:event_jRadioButton3ItemStateChanged

    private void jRadioButton1PropertyChange(java.beans.PropertyChangeEvent evt) {//GEN-FIRST:event_jRadioButton1PropertyChange
    }//GEN-LAST:event_jRadioButton1PropertyChange

    private void jRadioButton1ItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_jRadioButton1ItemStateChanged

        if (jRadioButton1.isSelected()) {
            jLabel11.setVisible(true);
            jComboBox3.setVisible(true);
        } else {
            jLabel11.setVisible(false);
            jComboBox3.setVisible(false);
        }
    }//GEN-LAST:event_jRadioButton1ItemStateChanged

    private void jPanelTreinadorGerirFocusGained(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_jPanelTreinadorGerirFocusGained
        // TODO add your handling code here:

        jListTreinadorGerirListaTreinadores.setModel(modelListTreinadores);
        listatreinadores.addAll(fasseide.manTreinador.getAll());
        modelListTreinadores.clear();
        for (Treinador t : listatreinadores) {
            modelListTreinadores.addElement(t.getNome());

        }

        jComboBoxTreinadorGerirEquipa.setModel(modelComboBoxEquipas);
        listaequipas.addAll(fasseide.manEquipa.getAll());
        modelComboBoxEquipas.removeAllElements();
        for (Equipa e : listaequipas) {
            modelComboBoxEquipas.addElement(e.getNome());
        }
    }//GEN-LAST:event_jPanelTreinadorGerirFocusGained

    private void jButtonTreinadorGerirRemoverActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButtonTreinadorGerirRemoverActionPerformed
        // TODO add your handling code here:

        if (jListTreinadorGerirListaTreinadores.isSelectionEmpty() == false)//tem alguma coisa selecionada
        {
            int pos = jListTreinadorGerirListaTreinadores.getSelectedIndex();
            Treinador tr = listatreinadores.get(pos);
            try {
                fasseide.manTreinador.remove(tr);
            } catch (GenericBslException ex) {
                Logger.getLogger(Interface.class.getName()).log(Level.SEVERE, null, ex);
            }

        }
    }//GEN-LAST:event_jButtonTreinadorGerirRemoverActionPerformed

    private void jPanelArbitroGerirFocusGained(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_jPanelArbitroGerirFocusGained
        // TODO add your handling code here:
    }//GEN-LAST:event_jPanelArbitroGerirFocusGained

    private void jButton22ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton22ActionPerformed

        if (jListArbitroGerirListaArbitros.isSelectionEmpty() == false)//tem alguma coisa selecionada
        {
            int pos = jListArbitroGerirListaArbitros.getSelectedIndex();
            Arbitro arb = listaarbitros.get(pos);
            try {
                fasseide.manArbitro.remove(arb);
            } catch (GenericBslException ex) {
                Logger.getLogger(Interface.class.getName()).log(Level.SEVERE, null, ex);
            }

        }
    }//GEN-LAST:event_jButton22ActionPerformed

    private void jListArbitroGerirListaArbitrosValueChanged(javax.swing.event.ListSelectionEvent evt) {//GEN-FIRST:event_jListArbitroGerirListaArbitrosValueChanged

        Arbitro a = listaarbitros.get(jListArbitroGerirListaArbitros.getSelectedIndex());

        jTextFieldArbitroGerirNome.setText(a.getNome());
        jTextFieldArbitroGerirDataN.setText(a.getDataNascimento());
        jComboBoxArbitroSexo.setSelectedItem(a.getSexo());
    }//GEN-LAST:event_jListArbitroGerirListaArbitrosValueChanged

    private void jPanelJogadorGerirFocusGained(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_jPanelJogadorGerirFocusGained

        jListJogadorGerirListaJogadores.setModel(modelListJogadores);
        listajogadores.addAll(fasseide.manJogador.getAll());
        modelListJogadores.clear();
        for (Jogador j : listajogadores) {
            modelListJogadores.addElement(j.getNome());
        }

        jComboBoxJogadoresGerirEquipa.setModel(modelComboBoxEquipas);
        listaequipas.addAll(fasseide.manEquipa.getAll());
        modelComboBoxEquipas.removeAllElements();
        for (Equipa e : listaequipas) {
            modelComboBoxEquipas.addElement(e.getNome());
        }
    }//GEN-LAST:event_jPanelJogadorGerirFocusGained

    private void jButtonJogadorGerirRemoverActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButtonJogadorGerirRemoverActionPerformed

        if (jListJogadorGerirListaJogadores.isSelectionEmpty() == false)//tem alguma coisa selecionada
        {
            int pos = jListJogadorGerirListaJogadores.getSelectedIndex();
            Jogador jog = listajogadores.get(pos);
            try {
                fasseide.manJogador.remove(jog);
            } catch (GenericBslException ex) {
                Logger.getLogger(Interface.class.getName()).log(Level.SEVERE, null, ex);
            }

        }
    }//GEN-LAST:event_jButtonJogadorGerirRemoverActionPerformed

    private void jListJogadorGerirListaJogadoresValueChanged(javax.swing.event.ListSelectionEvent evt) {//GEN-FIRST:event_jListJogadorGerirListaJogadoresValueChanged

        Jogador j = listajogadores.get(jListJogadorGerirListaJogadores.getSelectedIndex());

        jTextFieldJogadorGerirNome.setText(j.getNome());
        jTextFieldJogadorGerirDataN.setText(j.getDataNascimento());
        jComboBoxJogadoresGerirEquipa.setSelectedItem(j.getEquipa().getNome());
        jComboBoxJogadorSexo.setSelectedItem(j.getSexo());
        jComboBoxJogadorNac.setSelectedItem(j.getNacionalidade());
    }//GEN-LAST:event_jListJogadorGerirListaJogadoresValueChanged

    private void jButtontEquipaGerirRemoveActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButtontEquipaGerirRemoveActionPerformed
        // TODO add your handling code here:
        if (jListEquipaGerirListaEquipa.isSelectionEmpty() == false)//tem alguma coisa selecionada
        {
            int pos = jListEquipaGerirListaEquipa.getSelectedIndex();
            Equipa e = listaequipas.get(pos);
            try {
                fasseide.manEquipa.remove(e);
            } catch (GenericBslException ex) {
                Logger.getLogger(Interface.class.getName()).log(Level.SEVERE, null, ex);
            }

        }
    }//GEN-LAST:event_jButtontEquipaGerirRemoveActionPerformed

    private void jPanelEquipaGerirFocusGained(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_jPanelEquipaGerirFocusGained
        // TODO add your handling code here:

        jListEquipaGerirListaEquipa.setModel(modelListEquipas);
        listaequipas.addAll(fasseide.manEquipa.getAll());
        modelListEquipas.clear();
        for (Equipa e : listaequipas) {
            modelListEquipas.addElement(e.getNome());

        }
        //mais coisas
    }//GEN-LAST:event_jPanelEquipaGerirFocusGained

    private void jButtontEquipaGerirRemove1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButtontEquipaGerirRemove1ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jButtontEquipaGerirRemove1ActionPerformed

    private void jButtontEquipaGerirAdicionaJogActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButtontEquipaGerirAdicionaJogActionPerformed
        // Este vai adicionar à lista de jogadores da equipa e remover da combobox para não ter repetidos
    }//GEN-LAST:event_jButtontEquipaGerirAdicionaJogActionPerformed

    private void jButtontEscolaGerirRemoveActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButtontEscolaGerirRemoveActionPerformed
        if (jListEscolaGerirListaEscola.isSelectionEmpty() == false)//tem alguma coisa selecionada
        {
            int pos = jListEscolaGerirListaEscola.getSelectedIndex();
            Escola e = listaescolas.get(pos);
            try {
                fasseide.manEscola.remove(e);
            } catch (GenericBslException ex) {
                Logger.getLogger(Interface.class.getName()).log(Level.SEVERE, null, ex);
            }

        }
    }//GEN-LAST:event_jButtontEscolaGerirRemoveActionPerformed

    private void jButtontCampeonatoGerirAdicionaEquipaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButtontCampeonatoGerirAdicionaEquipaActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jButtontCampeonatoGerirAdicionaEquipaActionPerformed

    private void jButtontCampeonatoGerirRemoveEquipaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButtontCampeonatoGerirRemoveEquipaActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jButtontCampeonatoGerirRemoveEquipaActionPerformed

    private void jButtonCampeonatoGerirRemoverActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButtonCampeonatoGerirRemoverActionPerformed
        if (jListCampeonatoGerirListaCamp.isSelectionEmpty() == false)//tem alguma coisa selecionada
        {
            int pos = jListCampeonatoGerirListaCamp.getSelectedIndex();
            Campeonato c = listacampeonatos.get(pos);
            try {
                fasseide.manCampeonato.remove(c);
            } catch (GenericBslException ex) {
                Logger.getLogger(Interface.class.getName()).log(Level.SEVERE, null, ex);
            }

        }
    }//GEN-LAST:event_jButtonCampeonatoGerirRemoverActionPerformed

    private void jTextFieldJogadorNomeActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jTextFieldJogadorNomeActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jTextFieldJogadorNomeActionPerformed

    private void jButtonJogadorCriarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButtonJogadorCriarActionPerformed
        String Nome = jTextFieldJogadorNome.getText();;
        String DataN = jTextFieldJogadorDataN.getText();
        String Nacionalidade = jComboBoxJogadorNac.getSelectedItem().toString();
        String Sexo = jComboBoxJogadorSexo.getSelectedItem().toString();
        boolean result = false;
        boolean tudook = false;
        //verificar
        jLabelArbitroErro1.setText("");
        jLabelArbitroErro2.setText("");
        if (Nome.length() > 30) {
            jLabelArbitroErro1.setText("ERRO : Mais de 30 Caracteres");
        } else {
            if (DataN.length() > 10) {
                jLabelArbitroErro2.setText("ERRO : Mais de 30 Caracteres");
            } else {
                tudook = true;
            }

        }

        if (tudook) {
            try {
                Jogador jog = new Jogador();
                jog.setDataNascimento(DataN);
                jog.setNome(Nome);
                jog.setSexo(Sexo);
                jog.setNacionalidade(Nacionalidade);
                result = fasseide.manJogador.insereNovo(jog);
            } catch (GenericBslException ex) {
                Logger.getLogger(Interface.class.getName()).log(Level.SEVERE, null, ex);
            }
            if (result == true) {
                JOptionPane.showMessageDialog(this, "Jogador " + Nome + " inserido com sucesso");
            } else {
                JOptionPane.showMessageDialog(this, "Impossível Inserir");
            }
        }
    }//GEN-LAST:event_jButtonJogadorCriarActionPerformed

    private void jPanelJogadorCriar_FocusGained(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_jPanelJogadorCriar_FocusGained
        //Adicionar elementos às combo box!!
    }//GEN-LAST:event_jPanelJogadorCriar_FocusGained

    private void jButtonArbitroCriarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButtonArbitroCriarActionPerformed
        // TODO add your handling code here:
        String Nome = jTextFieldArbitroNome.getText();;
        String DataN = jTextFieldArbitroDataN.getText();
        String Nacionalidade = jComboBoxArbitroNac.getSelectedItem().toString();
        String Sexo = jComboBoxArbitroSexo.getSelectedItem().toString();
        boolean result = false;
        boolean tudook = false;
        //verificar
        jLabelArbitroErro1.setText("");
        jLabelArbitroErro2.setText("");
        if (Nome.length() > 30) {
            jLabelArbitroErro1.setText("ERRO : Mais de 30 Caracteres");
        } else {
            if (DataN.length() > 10) {
                jLabelArbitroErro2.setText("ERRO : Mais de 30 Caracteres");
            } else {
                tudook = true;
            }

        }

        if (tudook) {
            try {
                Arbitro arb = new Arbitro();
                arb.setDataNascimento(DataN);
                arb.setNome(Nome);
                arb.setSexo(Sexo);
                result = fasseide.manArbitro.insereNovo(arb);
            } catch (GenericBslException ex) {
                Logger.getLogger(Interface.class.getName()).log(Level.SEVERE, null, ex);
            }
            if (result == true) {
                JOptionPane.showMessageDialog(this, "Árbitro " + Nome + " inserido com sucesso");
            } else {
                JOptionPane.showMessageDialog(this, "Impossível Inserir");
            }
        }
    }//GEN-LAST:event_jButtonArbitroCriarActionPerformed

    private void jButtonTreinadorCriarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButtonTreinadorCriarActionPerformed
        String Nome = jTextFieldTreinadorNome.getText();;
        String DataN = jTextFieldTreinadorDataN.getText();
        String Nacionalidade = jComboBoxTreinadorNac.getSelectedItem().toString();
        String Sexo = jComboBoxTreinadorSexo.getSelectedItem().toString();
        boolean result = false;
        boolean tudook = false;
        //verificar
        jLabelArbitroErro1.setText("");
        jLabelArbitroErro2.setText("");
        if (Nome.length() > 30) {
            jLabelArbitroErro1.setText("ERRO : Mais de 30 Caracteres");
        } else {
            if (DataN.length() > 10) {
                jLabelArbitroErro2.setText("ERRO : Mais de 30 Caracteres");
            } else {
                tudook = true;
            }

        }

        if (tudook) {
            try {
                Treinador treinador = new Treinador();
                treinador.setDataNascimento(DataN);
                treinador.setNome(Nome);
                treinador.setSexo(Sexo);
                treinador.setNacionalidade(Nacionalidade);
                result = fasseide.manTreinador.insereNovo(treinador);
            } catch (GenericBslException ex) {
                Logger.getLogger(Interface.class.getName()).log(Level.SEVERE, null, ex);
            }
            if (result == true) {
                JOptionPane.showMessageDialog(this, "Treinador " + Nome + " inserido com sucesso");
            } else {
                JOptionPane.showMessageDialog(this, "Impossível Inserir");
            }
        }

    }//GEN-LAST:event_jButtonTreinadorCriarActionPerformed

    private void jButton10ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton10ActionPerformed
        String Nome = jTextFieldJogadorNome.getText();;
        int I_Treinador = jComboBoxTreinador_Equipa.getSelectedIndex();
        int I_Escalao = jComboBoxEscalao_Equipa.getSelectedIndex();
        int I_Escola = jComboBoxEscola_Equipa.getSelectedIndex();
        boolean result = false;
        boolean tudook = false;
        //verificar
        jLabelArbitroErro1.setText("");
        jLabelArbitroErro2.setText("");
        if (Nome.length() > 30) {
            jLabelArbitroErro1.setText("ERRO : Mais de 30 Caracteres");
        } else {
            if (I_Treinador == 0) {
                jLabelArbitroErro2.setText("ERRO : Treinador não Seleccionada!");
            } else {
                if (I_Escalao == 0) {
                    jLabelArbitroErro2.setText("ERRO : Escalão não Seleccionada!");
                } else {
                    if (I_Escola == 0) {
                        jLabelArbitroErro2.setText("ERRO : Escola não Seleccionada!");
                    } else {
                        tudook = true;
                    }
                }
            }

        }

        if (tudook) {
            try {
                Equipa equipa = new Equipa();
                equipa.setNome(Nome);
                //Escalão
                Escalao esc = listaescaloes.get(I_Escalao);
                equipa.setEscalao(esc);
                equipa.setIdEscalao(esc.getId());
                //Treinador
                //Treinador t = listatreinadores.get(I_Treinador);
//                equipa.setTreinador(t);
                //              equipa.setIdTreinador(t.getId());
                //Escola
                Escola escola = listaescolas.get(I_Escola);
                equipa.setEscola(escola);
                equipa.setIdEscola(escola.getId());

                result = fasseide.manEquipa.insereNovo(equipa);
            } catch (GenericBslException ex) {
                Logger.getLogger(Interface.class.getName()).log(Level.SEVERE, null, ex);
            }
            if (result == true) {
                JOptionPane.showMessageDialog(this, "Equipa " + Nome + " inserido com sucesso");
            } else {
                JOptionPane.showMessageDialog(this, "Impossível Inserir");
            }
        }
    }//GEN-LAST:event_jButton10ActionPerformed

    private void jComboBoxEscola_EquipaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jComboBoxEscola_EquipaActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jComboBoxEscola_EquipaActionPerformed

    private void jPanelEquipaCriar_FocusGained(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_jPanelEquipaCriar_FocusGained

        listatreinadores.addAll(fasseide.manTreinador.getAll());
        jComboBoxTreinador_Equipa.removeAllItems();
        for (Treinador t : listatreinadores) {
            jComboBoxTreinador_Equipa.addItem(t.getNome());
        }

        listaescaloes.addAll(fasseide.manEscalao.getAll());
        jComboBoxEscalao_Equipa.removeAllItems();
        for (Escalao e : listaescaloes) {
            jComboBoxEscalao_Equipa.addItem(e.getNome());
        }

        listaescolas.addAll(fasseide.manEscola.getAll());
        jComboBoxEscalao_Equipa.removeAllItems();
        for (Escola e : listaescolas) {
            jComboBoxEscalao_Equipa.addItem(e.getNome());
        }

    }//GEN-LAST:event_jPanelEquipaCriar_FocusGained

    private void jButton14ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton14ActionPerformed
        String Nome = jTextNome_Escola.getText();
        String Localidade = jTextFieldLocalidade_Escola.getText();
        int I_Instalacao = jComboBoxInstalacao_Escola.getSelectedIndex();
        boolean result = false;
        boolean tudook = false;
        //verificar
        jLabelArbitroErro1.setText("");
        jLabelArbitroErro2.setText("");

        if (Nome.length() > 30) {
            jLabelArbitroErro1.setText("ERRO : Mais de 30 Caracteres");
        } else {
            if (I_Instalacao == 0) {
                jLabelArbitroErro2.setText("ERRO : Instalação não Seleccionada!");
            } else {
                tudook = true;
            }
        }

        if (tudook) {
            try {
                Escola escola = new Escola();
                escola.setNome(Nome);
                escola.setLocalidade(Localidade);
                //Instalaçao
                Instalacao esc = listainstalacoes.get(I_Instalacao);
                escola.setInstalacao(esc);
                escola.setIdInstalacao(esc.getId());

                result = fasseide.manEscola.insereNovo(escola);
            } catch (GenericBslException ex) {
                Logger.getLogger(Interface.class.getName()).log(Level.SEVERE, null, ex);
            }
            if (result == true) {
                JOptionPane.showMessageDialog(this, "Escola " + Nome + " inserido com sucesso");
            } else {
                JOptionPane.showMessageDialog(this, "Impossível Inserir");
            }
        }

        // TODO add your handling code here:
    }//GEN-LAST:event_jButton14ActionPerformed

    private void jComboBoxInstalacao_EscolaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jComboBoxInstalacao_EscolaActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jComboBoxInstalacao_EscolaActionPerformed

    private void jPanelEscolaCriar_FocusGained(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_jPanelEscolaCriar_FocusGained

        listainstalacoes.addAll(fasseide.manInstalacao.getAll());
        jComboBoxInstalacao_Escola.removeAllItems();
        for (Instalacao e : listainstalacoes) {
            jComboBoxInstalacao_Escola.addItem(e.getNome());
        }
    }//GEN-LAST:event_jPanelEscolaCriar_FocusGained

    private void jButtonLOGINActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButtonLOGINActionPerformed
        // TODO add your handling code here:
        char[] pass = jPasswordFieldLoginPass.getPassword();
        StringBuilder password = new StringBuilder();
        for (char c : pass) {
            password.append(c);
        }
        Utilizador temp = new Utilizador(jTextFieldLoginUsername.getText(), password.toString(), -2);

    }//GEN-LAST:event_jButtonLOGINActionPerformed

    private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton2ActionPerformed
        // TODO add your handling code here:
        if (listaarbitros == null) {
            listaarbitros = new ArrayList<>();
        }
        listaarbitros.addAll(fasseide.manArbitro.getAll());
        modelListArbitros.clear();
        for (Arbitro t : listaarbitros) {
            modelListArbitros.addElement(t);
        }
        jListArbitroGerirListaArbitros.setModel(modelListArbitros);

    }//GEN-LAST:event_jButton2ActionPerformed

    private void jCheckBox1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jCheckBox1ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jCheckBox1ActionPerformed

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        /* Set the Nimbus look and feel */
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(Interface.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(Interface.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(Interface.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(Interface.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>

        /* Create and display the form */
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new Interface().setVisible(true);
            }
        });
    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.ButtonGroup buttonGroup1;
    private javax.swing.ButtonGroup buttonGroup2;
    private javax.swing.JButton jButton1;
    private javax.swing.JButton jButton10;
    private javax.swing.JButton jButton11;
    private javax.swing.JButton jButton12;
    private javax.swing.JButton jButton13;
    private javax.swing.JButton jButton14;
    private javax.swing.JButton jButton15;
    private javax.swing.JButton jButton16;
    private javax.swing.JButton jButton17;
    private javax.swing.JButton jButton18;
    private javax.swing.JButton jButton19;
    private javax.swing.JButton jButton2;
    private javax.swing.JButton jButton20;
    private javax.swing.JButton jButton21;
    private javax.swing.JButton jButton22;
    private javax.swing.JButton jButton3;
    private javax.swing.JButton jButton4;
    private javax.swing.JButton jButton5;
    private javax.swing.JButton jButton6;
    private javax.swing.JButton jButton7;
    private javax.swing.JButton jButton8;
    private javax.swing.JButton jButtonArbitroCriar;
    private javax.swing.JButton jButtonCampeonatoGerirRemover;
    private javax.swing.JButton jButtonJogadorCriar;
    private javax.swing.JButton jButtonJogadorGerirAlterar;
    private javax.swing.JButton jButtonJogadorGerirRemover;
    private javax.swing.JButton jButtonLOGIN;
    private javax.swing.JButton jButtonTreinadorCriar;
    private javax.swing.JButton jButtonTreinadorGerirRemover;
    private javax.swing.JButton jButtontCampeonatoGerirAdicionaEquipa;
    private javax.swing.JButton jButtontCampeonatoGerirRemoveEquipa;
    private javax.swing.JButton jButtontEquipaGerirAdicionaJog;
    private javax.swing.JButton jButtontEquipaGerirRemove;
    private javax.swing.JButton jButtontEquipaGerirRemove1;
    private javax.swing.JButton jButtontEscolaGerirRemove;
    private javax.swing.JCheckBox jCheckBox1;
    private javax.swing.JComboBox jComboBox1;
    private javax.swing.JComboBox jComboBox2;
    private javax.swing.JComboBox jComboBox3;
    private javax.swing.JComboBox jComboBox4;
    private javax.swing.JComboBox jComboBoxArbitroGerirNac;
    private javax.swing.JComboBox jComboBoxArbitroGerirNac4;
    private javax.swing.JComboBox jComboBoxArbitroGerirSexo;
    private javax.swing.JComboBox jComboBoxArbitroNac;
    private javax.swing.JComboBox jComboBoxArbitroSexo;
    private javax.swing.JComboBox jComboBoxCampeonatoGerirEquipa;
    private javax.swing.JComboBox jComboBoxEquipaGerirJogs;
    private javax.swing.JComboBox jComboBoxEquipaGerirNac;
    private javax.swing.JComboBox jComboBoxEquipaGerirSexo;
    private javax.swing.JComboBox jComboBoxEquipaGerirTrein;
    private javax.swing.JComboBox jComboBoxEscalao_Equipa;
    private javax.swing.JComboBox jComboBoxEscola_Equipa;
    private javax.swing.JComboBox jComboBoxInstalacao_Escola;
    private javax.swing.JComboBox jComboBoxJogadorNac;
    private javax.swing.JComboBox jComboBoxJogadorNac1;
    private javax.swing.JComboBox jComboBoxJogadorSexo;
    private javax.swing.JComboBox jComboBoxJogadorSexo1;
    private javax.swing.JComboBox jComboBoxJogadoresGerirEquipa;
    private javax.swing.JComboBox jComboBoxJogadoresGerirEquipa1;
    private javax.swing.JComboBox jComboBoxTreinadorGerirEquipa;
    private javax.swing.JComboBox jComboBoxTreinadorNac;
    private javax.swing.JComboBox jComboBoxTreinadorNac1;
    private javax.swing.JComboBox jComboBoxTreinadorSexo;
    private javax.swing.JComboBox jComboBoxTreinadorSexo1;
    private javax.swing.JComboBox jComboBoxTreinador_Equipa;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel10;
    private javax.swing.JLabel jLabel11;
    private javax.swing.JLabel jLabel12;
    private javax.swing.JLabel jLabel13;
    private javax.swing.JLabel jLabel14;
    private javax.swing.JLabel jLabel15;
    private javax.swing.JLabel jLabel16;
    private javax.swing.JLabel jLabel17;
    private javax.swing.JLabel jLabel18;
    private javax.swing.JLabel jLabel19;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel20;
    private javax.swing.JLabel jLabel21;
    private javax.swing.JLabel jLabel22;
    private javax.swing.JLabel jLabel23;
    private javax.swing.JLabel jLabel24;
    private javax.swing.JLabel jLabel25;
    private javax.swing.JLabel jLabel26;
    private javax.swing.JLabel jLabel27;
    private javax.swing.JLabel jLabel28;
    private javax.swing.JLabel jLabel29;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel30;
    private javax.swing.JLabel jLabel31;
    private javax.swing.JLabel jLabel32;
    private javax.swing.JLabel jLabel36;
    private javax.swing.JLabel jLabel37;
    private javax.swing.JLabel jLabel38;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel41;
    private javax.swing.JLabel jLabel42;
    private javax.swing.JLabel jLabel43;
    private javax.swing.JLabel jLabel46;
    private javax.swing.JLabel jLabel47;
    private javax.swing.JLabel jLabel48;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JLabel jLabel51;
    private javax.swing.JLabel jLabel52;
    private javax.swing.JLabel jLabel53;
    private javax.swing.JLabel jLabel56;
    private javax.swing.JLabel jLabel57;
    private javax.swing.JLabel jLabel58;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel61;
    private javax.swing.JLabel jLabel62;
    private javax.swing.JLabel jLabel63;
    private javax.swing.JLabel jLabel64;
    private javax.swing.JLabel jLabel65;
    private javax.swing.JLabel jLabel66;
    private javax.swing.JLabel jLabel67;
    private javax.swing.JLabel jLabel68;
    private javax.swing.JLabel jLabel69;
    private javax.swing.JLabel jLabel7;
    private javax.swing.JLabel jLabel70;
    private javax.swing.JLabel jLabel71;
    private javax.swing.JLabel jLabel72;
    private javax.swing.JLabel jLabel73;
    private javax.swing.JLabel jLabel74;
    private javax.swing.JLabel jLabel75;
    private javax.swing.JLabel jLabel76;
    private javax.swing.JLabel jLabel77;
    private javax.swing.JLabel jLabel78;
    private javax.swing.JLabel jLabel8;
    private javax.swing.JLabel jLabel9;
    private javax.swing.JLabel jLabelArbitroErro1;
    private javax.swing.JLabel jLabelArbitroErro2;
    private javax.swing.JLabel jLabelArbitroErro3;
    private javax.swing.JLabel jLabelArbitroErro4;
    private javax.swing.JLabel jLabelArbitroGerirDataN;
    private javax.swing.JLabel jLabelArbitroGerirDataN1;
    private javax.swing.JLabel jLabelArbitroGerirNac;
    private javax.swing.JLabel jLabelArbitroGerirNome;
    private javax.swing.JLabel jLabelArbitroGerirSexo;
    private javax.swing.JLabel jLabelCampeonatoGerirEpoca;
    private javax.swing.JLabel jLabelCampeonatoGerirNome;
    private javax.swing.JLabel jLabelEquipaGerirJog;
    private javax.swing.JLabel jLabelEquipaGerirJog1;
    private javax.swing.JLabel jLabelEquipaGerirJogadores;
    private javax.swing.JLabel jLabelEquipaGerirJogadores1;
    private javax.swing.JLabel jLabelEquipaGerirNome;
    private javax.swing.JLabel jLabelEquipaGerirSexo;
    private javax.swing.JLabel jLabelEquipaGerirTreinador;
    private javax.swing.JLabel jLabelEscolaGerirInstalacao;
    private javax.swing.JLabel jLabelEscolaGerirNome;
    private javax.swing.JLabel jLabelEscolaGerirNome1;
    private javax.swing.JLabel jLabelJogadorGerirEquipa;
    private javax.swing.JLabel jLabelJogadorGerirEquipa1;
    private javax.swing.JLabel jLabelJogadorGerirLista;
    private javax.swing.JLabel jLabelPessoasJogadorGerirDataN;
    private javax.swing.JLabel jLabelPessoasJogadorGerirNome;
    private javax.swing.JLabel jLabelTreinadorGerirDataN;
    private javax.swing.JLabel jLabelTreinadorGerirEquipa;
    private javax.swing.JLabel jLabelTreinadorGerirNac;
    private javax.swing.JLabel jLabelTreinadorGerirNome;
    private javax.swing.JLabel jLabelTreinadorGerirSexo;
    private javax.swing.JList jList1;
    private javax.swing.JList jList10;
    private javax.swing.JList jList2;
    private javax.swing.JList jList3;
    private javax.swing.JList jList9;
    private javax.swing.JList jListArbitroGerirListaArbitros;
    private javax.swing.JList jListCampeonatoGerirListaCamp;
    private javax.swing.JList jListEquipaGerirJogadores;
    private javax.swing.JList jListEquipaGerirJogadores1;
    private javax.swing.JList jListEquipaGerirListaEquipa;
    private javax.swing.JList jListEscolaGerirListaEscola;
    private javax.swing.JList jListJogadorGerirListaJogadores;
    private javax.swing.JList jListTreinadorGerirListaTreinadores;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JPanel jPanel19;
    private javax.swing.JPanel jPanel2;
    private javax.swing.JPanel jPanel20;
    private javax.swing.JPanel jPanel21;
    private javax.swing.JPanel jPanel24;
    private javax.swing.JPanel jPanel25;
    private javax.swing.JPanel jPanel26;
    private javax.swing.JPanel jPanel27;
    private javax.swing.JPanel jPanel3;
    private javax.swing.JPanel jPanel4;
    private javax.swing.JPanel jPanel5;
    private javax.swing.JPanel jPanel6;
    private javax.swing.JPanel jPanelArbitroCriar;
    private javax.swing.JPanel jPanelArbitroGerir;
    private javax.swing.JPanel jPanelCampeonatoCriar;
    private javax.swing.JPanel jPanelCampeonatoGerir;
    private javax.swing.JPanel jPanelCampeonatoTorneioCriar;
    private javax.swing.JPanel jPanelCampeonatoTorneioGerir;
    private javax.swing.JPanel jPanelComepeticoesCampTorneio;
    private javax.swing.JPanel jPanelComepeticoesCampeonato;
    private javax.swing.JPanel jPanelComepeticoesTorneio;
    private javax.swing.JPanel jPanelEntidadesEquipa;
    private javax.swing.JPanel jPanelEntidadesEscola;
    private javax.swing.JPanel jPanelEquipaCriar;
    private javax.swing.JPanel jPanelEquipaGerir;
    private javax.swing.JPanel jPanelEscolaCriar;
    private javax.swing.JPanel jPanelEscolaGerir;
    private javax.swing.JPanel jPanelEstatisticasMaisCartoes;
    private javax.swing.JPanel jPanelEstatisticasMaisGolos;
    private javax.swing.JPanel jPanelJogadorCriar;
    private javax.swing.JPanel jPanelJogadorGerir;
    private javax.swing.JPanel jPanelPessoasArbitro;
    private javax.swing.JPanel jPanelPessoasJogador;
    private javax.swing.JPanel jPanelPessoasTreinador;
    private javax.swing.JPanel jPanelRelatoriosConsultar;
    private javax.swing.JPanel jPanelRelatoriosSubmeter;
    private javax.swing.JPanel jPanelTorneioCriar;
    private javax.swing.JPanel jPanelTorneioGerir;
    private javax.swing.JPanel jPanelTreinadorCriar;
    private javax.swing.JPanel jPanelTreinadorGerir;
    private javax.swing.JPanel jPanelUtilizadorCriar;
    private javax.swing.JPanel jPanelUtilizadorGerir;
    private javax.swing.JPasswordField jPasswordField2;
    private javax.swing.JPasswordField jPasswordFieldLoginPass;
    private javax.swing.JRadioButton jRadioButton1;
    private javax.swing.JRadioButton jRadioButton2;
    private javax.swing.JRadioButton jRadioButton3;
    private javax.swing.JRadioButton jRadioButton4;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JScrollPane jScrollPane10;
    private javax.swing.JScrollPane jScrollPane11;
    private javax.swing.JScrollPane jScrollPane12;
    private javax.swing.JScrollPane jScrollPane13;
    private javax.swing.JScrollPane jScrollPane14;
    private javax.swing.JScrollPane jScrollPane15;
    private javax.swing.JScrollPane jScrollPane16;
    private javax.swing.JScrollPane jScrollPane17;
    private javax.swing.JScrollPane jScrollPane2;
    private javax.swing.JScrollPane jScrollPane3;
    private javax.swing.JScrollPane jScrollPane4;
    private javax.swing.JScrollPane jScrollPane5;
    private javax.swing.JScrollPane jScrollPane6;
    private javax.swing.JScrollPane jScrollPane7;
    private javax.swing.JScrollPane jScrollPane8;
    private javax.swing.JScrollPane jScrollPane9;
    private javax.swing.JTabbedPane jTabbedPane1;
    private javax.swing.JTabbedPane jTabbedPane7;
    private javax.swing.JTabbedPane jTabbedPaneArbitro;
    private javax.swing.JTabbedPane jTabbedPaneCampeonato;
    private javax.swing.JTabbedPane jTabbedPaneCampeonato1;
    private javax.swing.JTabbedPane jTabbedPaneCampeonatoTorneio;
    private javax.swing.JTabbedPane jTabbedPaneCompeticoes;
    private javax.swing.JTabbedPane jTabbedPaneEntidades;
    private javax.swing.JTabbedPane jTabbedPaneEquipa;
    private javax.swing.JTabbedPane jTabbedPaneEscaloes;
    private javax.swing.JTabbedPane jTabbedPaneEscola;
    private javax.swing.JTabbedPane jTabbedPaneEstatisticas;
    private javax.swing.JTabbedPane jTabbedPaneInstalacoes;
    private javax.swing.JTabbedPane jTabbedPaneJogadores;
    private javax.swing.JTabbedPane jTabbedPanePessoas;
    private javax.swing.JTabbedPane jTabbedPaneRelatorios;
    private javax.swing.JTabbedPane jTabbedPaneTreinador;
    private javax.swing.JTabbedPane jTabbedPaneUtilizadores;
    private javax.swing.JTable jTable1;
    private javax.swing.JTable jTable2;
    private javax.swing.JTable jTable3;
    private javax.swing.JTable jTable4;
    private javax.swing.JTextField jTextField10;
    private javax.swing.JTextField jTextField11;
    private javax.swing.JTextField jTextField12;
    private javax.swing.JTextField jTextField2;
    private javax.swing.JTextField jTextField26;
    private javax.swing.JTextField jTextField27;
    private javax.swing.JTextField jTextField3;
    private javax.swing.JTextField jTextField30;
    private javax.swing.JTextField jTextField31;
    private javax.swing.JTextField jTextField32;
    private javax.swing.JTextField jTextField33;
    private javax.swing.JTextField jTextField34;
    private javax.swing.JTextField jTextField35;
    private javax.swing.JTextField jTextField36;
    private javax.swing.JTextField jTextField37;
    private javax.swing.JTextField jTextField4;
    private javax.swing.JTextField jTextField5;
    private javax.swing.JTextField jTextField6;
    private javax.swing.JTextField jTextField7;
    private javax.swing.JTextField jTextField8;
    private javax.swing.JTextField jTextField9;
    private javax.swing.JTextField jTextFieldArbitroDataN;
    private javax.swing.JTextField jTextFieldArbitroGerirDataN;
    private javax.swing.JTextField jTextFieldArbitroGerirNome;
    private javax.swing.JTextField jTextFieldArbitroGerirNome2;
    private javax.swing.JTextField jTextFieldArbitroGerirNome3;
    private javax.swing.JTextField jTextFieldArbitroNome;
    private javax.swing.JTextField jTextFieldCampeonatoGerirEpoca;
    private javax.swing.JTextField jTextFieldCampeonatoGerirNome;
    private javax.swing.JTextField jTextFieldEquipaGerirNome;
    private javax.swing.JTextField jTextFieldEquipaNome;
    private javax.swing.JTextField jTextFieldJogadorDataN;
    private javax.swing.JTextField jTextFieldJogadorGerirDataN;
    private javax.swing.JTextField jTextFieldJogadorGerirNome;
    private javax.swing.JTextField jTextFieldJogadorNome;
    private javax.swing.JTextField jTextFieldLocalidade_Escola;
    private javax.swing.JTextField jTextFieldLoginUsername;
    private javax.swing.JTextField jTextFieldTreinadorDataN;
    private javax.swing.JTextField jTextFieldTreinadorDataN1;
    private javax.swing.JTextField jTextFieldTreinadorNome;
    private javax.swing.JTextField jTextFieldTreinadorNome1;
    private javax.swing.JTextField jTextNome_Escola;
    // End of variables declaration//GEN-END:variables
}
